Add special case handling of the XHTML character entity "'" to normalizeEntity...
authorIlmari Karonen <vyznev@users.mediawiki.org>
Sun, 4 Jan 2009 02:29:00 +0000 (02:29 +0000)
committerIlmari Karonen <vyznev@users.mediawiki.org>
Sun, 4 Jan 2009 02:29:00 +0000 (02:29 +0000)
commit153e741bc3ca92b9fee13664e195b57352f2d28c
treead8e7e34ca334c37e265ac30350426d0065416a3
parentd473f63e50a365bf26948e06eaf3a933e5ad141d
Add special case handling of the XHTML character entity "&apos;" to normalizeEntity() and decodeEntity().  This should resolve the remainder of bug 14365.
It might seem cleaner to just add the appropriate entry to $wgHtmlEntityAliases, but this would break decodeEntity() as currently written.  Explicitly note this in the comments.
RELEASE-NOTES
includes/Sanitizer.php