https://bugzilla.wikimedia.org/show_bug.cgi?id=37838
Mark Holmquist <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Component|JS/tokeniser |CPP/DOM --- Comment #9 from Mark Holmquist <[email protected]> 2012-08-06 23:29:06 UTC --- So to be entirely clear: $ echo "<nowiki>a</nowiki>" | node parse.js --html2wt actual <nowiki><nowiki></nowiki>a<nowiki></nowiki></nowiki> expected ## <nowiki>a</nowiki> The problem is pretty clearly in mw.WikitextSerializer.js, near line 152, in the function wrapNonTextTokens. The serializer escapes any instances of <\/?nowiki> with its HTML-entitied counterpart, then wraps it in <nowiki>. I don't know why right now. `git blame` seems to think Gabriel would know :) -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email ------- 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
