r68801 MediaWiki - Code Review archive
Repository:
MediaWiki
Revision:
<
r68800
|
r68801
|
r68802
>
Date:
23:08, 30 June 2010
Author:
simetrical
Status:
ok
Tags:
Comment:
When using escapenoentities, decode entities
See
r67090
for context. Maybe it would be better to alter
normalizeCharReferences() instead? I'm not sure where else it's called.
Modified paths:
/trunk/phase3/includes/Sanitizer.php
(modified) (
history
)
Diff
[
purge
]
Index: trunk/phase3/includes/Sanitizer.php
—
—
@@ -1063,7 +1063,7 @@
1064
1064
# hurt.
1065
1065
$html = htmlspecialchars( $html, ENT_QUOTES );
1066
1066
$html = str_replace( '&', '&', $html );
1067
- $html = Sanitizer::normalizeCharReferences( $html );
1067
+ $html = Sanitizer::decodeCharReferences( $html );
1068
1068
return $html;
1069
1069
}
1070
1070
Follow-up revisions
Revision
Commit summary
Author
Date
r68891
Make escapenoentities work again, broken by
r68801
simetrical
16:42, 2 July 2010
Past revisions this follows-up on
Revision
Commit summary
Author
Date
r67090
Remove most named character references from output...
simetrical
17:33, 30 May 2010
Status & tagging log
09:59, 31 August 2010
Tim Starling
(
talk
|
contribs
)
changed the
status
of r68801
[
removed:
new
added:
ok]