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

--- Comment #4 from C. Scott Ananian <canan...@wikimedia.org> ---
In the case in comment 2:
$ echo "<p><i>foo</i><b></b></p>" | tests/parse.js --html2wt
''foo''''''''
$ echo "''foo''''''''" | tests/parse.js  --normalize
<body><p><i>foo'''</i><b></b></p></body>
$ echo "''foo''''''''" | php maintenance/parse.php 
<p><i>foo'''</i>
</p>

But:
$ echo "''foo'''''<nowiki/>'''" | tests/parse.js  --normalize
<body><p><i>foo</i><b><meta/></b></p></body>
$ echo "''foo'''''<nowiki/>'''" | php maintenance/parse.php 
<p><i>foo</i>
</p>

So it does seem like our WTS should insert the <nowiki/> node there to preserve
the semantics of the HTML.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to