https://bugzilla.wikimedia.org/show_bug.cgi?id=47417
--- Comment #9 from Roan Kattouw <[email protected]> --- The reason this doesn't happen in Chrome is because Chrome normalizes < to < in attribute values in .innerHTML. Firefox doesn't do this and gives us the original < as originally provided by Parsoid. The presence of these <> then triggers a jQuery regex looking for self-closing tags: /<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi ...which believes our span (!) is self-closing because it starts with <span and contains /> later, so it helpfully "fixes" our HTML and replaces the /> with </span> -- You are receiving this mail because: You are on the CC list for the bug. _______________________________________________ Wikibugs-l mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
