Revert r45387 "Add special case handling of the XHTML character entity "'" to...
authorBrion Vibber <brion@users.mediawiki.org>
Wed, 7 Jan 2009 02:31:30 +0000 (02:31 +0000)
committerBrion Vibber <brion@users.mediawiki.org>
Wed, 7 Jan 2009 02:31:30 +0000 (02:31 +0000)
commit705c175b55df44d108c4c4e1cecd1d8a13663525
tree185bd3d8b468daf941ae391120216bf1f922360f
parentaf1abceb0efc9416c51a2156ab984bb7d7ff0da3
Revert r45387 "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."

This doesn't make any sense. Is there any reason not to just add apos to $wgHtmlEntities if it's valid XHTML?
RELEASE-NOTES
includes/Sanitizer.php