--- Comment #3 from ssas...@wikimedia.org ---
(In reply to C. Scott Ananian from comment #0)
> We have multiple html2wt regressions in the "Italics and bold: multiple
> quote sequences" tests, which were hidden because these tests were on the
> blacklist (the <nowiki> insertion previously made the html2wt tests fail).
> The failing tests, along with their wt2wt output (as "After") are:
> Italics and bold: multiple quote sequences: (3,4,2)
> Before: '''foo''''bar''
> After: '''<nowiki>foo'</nowiki>'''bar''''
> Italics and bold: multiple quote sequences: (3,4,3)
> Before: '''foo''''bar'''
> After: '''<nowiki>foo'</nowiki>'''bar''''''
This is messy because of the context-sensitive nature of how quotes get parsed.
Adding additional quotes for auto-closed italic tags changes the tokenization
and hence parse. While we do have the auto-insertion flags in the HTML, we
cannot use this unconditionally since edits could have changed the node.
However, for empty nodes that have auto-inserted flags, we can check DSR widths
to determine whether it is safe to use information from the flags. Will
You are receiving this mail because:
You are on the CC list for the bug.
Wikibugs-l mailing list