https://bugzilla.wikimedia.org/show_bug.cgi?id=26437
Summary: Sanitizer::decodeCharReferences converts invalid
entity
Product: MediaWiki
Version: 1.18-svn
Platform: All
OS/Version: All
Status: NEW
Keywords: patch
Severity: enhancement
Priority: Normal
Component: Page rendering
AssignedTo: [email protected]
ReportedBy: [email protected]
Created attachment 7931
--> https://bugzilla.wikimedia.org/attachment.cgi?id=7931
change regex to ignore non-hexadecimal characters
The entity &#xsee; is converted to î, because the php function hexdec() ignore
non-hexadecimal characters and so &#xsee; is interpreted as î.
In my opinion it is better, to leave this invalid entity unchanged.
Thanks.
--
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