dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
561f4f4
)
When using escapenoentities, decode entities
author
Aryeh Gregor
<simetrical@users.mediawiki.org>
Wed, 30 Jun 2010 23:08:31 +0000
(23:08 +0000)
committer
Aryeh Gregor
<simetrical@users.mediawiki.org>
Wed, 30 Jun 2010 23:08:31 +0000
(23:08 +0000)
See r67090 for context. Maybe it would be better to alter
normalizeCharReferences() instead? I'm not sure where else it's called.
includes/Sanitizer.php
patch
|
blob
|
history
diff --git
a/includes/Sanitizer.php
b/includes/Sanitizer.php
index
2a3f847
..
ce508c3
100644
(file)
--- a/
includes/Sanitizer.php
+++ b/
includes/Sanitizer.php
@@
-1063,7
+1063,7
@@
class Sanitizer {
# hurt.
$html = htmlspecialchars( $html, ENT_QUOTES );
$html = str_replace( '&', '&', $html );
- $html = Sanitizer::
normaliz
eCharReferences( $html );
+ $html = Sanitizer::
decod
eCharReferences( $html );
return $html;
}