https://bugzilla.wikimedia.org/show_bug.cgi?id=14365





--- Comment #9 from Ilmari Karonen <[email protected]>  2009-01-07 04:35:44 UTC 
---
If we add &apos; to $wgHtmlEntities, the Sanitizer will allow it through
normalizeCharReferences().  This could cause inconsistent rendering on old
browsers that predate XHTML, or apparently even on some rather modern versions
of IE if the page is served with a doctype (or maybe MIME type?) indicating
HTML4 rather than XHTML.  See e.g.
http://cssvault.com/blog/2007/10/17/internet-explorer-apos-feature/

Still, we claim to be serving XHTML, so I suppose this should not be a problem
(even if I do believe we're serving it with a "text/html" MIME type).  And even
on old browsers that don't support it, all that's likely to happen is that
it'll be rendered verbatim (as indeed the sanitizer currently forces it to be).


-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to