https://bugzilla.wikimedia.org/show_bug.cgi?id=54454
[email protected] changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED Assignee|[email protected] |[email protected] --- Comment #2 from [email protected] --- Tidy should result in non-broken HTML (unless there is a bug in Tidy). I just checked and Tidy fixes PHP parser's broken HTML and generates: <p><b><a href="/wiki/Foo" title="Foo" class="mw-redirect">F<b>oo</b> B<b>ar</b></a></b></p> (Can be verifed at https://en.wikipedia.org/wiki/User:Ssastry/sandbox) As for Parsoid, yes, this kind of broken wikitext was not being handled properly so far, but that is set to change with https://gerrit.wikimedia.org/r/#/c/83216/ which is awaiting review. That patch generates the following HTML on the snippet which is similar to what Tidy generates <p data-parsoid='{"dsr":[0,27,0,0]}'><b data-parsoid='{"autoInsertedEnd":1,"dsr":[0,27,3,0]}'><a rel="mw:WikiLink" href="./Foo" data-parsoid='{"stx":"piped","a":{"href":"./Foo"},"sa":{"href":"Foo"},"dsr":[3,27,6,2]}'>F<b data-parsoid='{"dsr":[10,19,3,3]}'>oo </b>B<b data-parsoid='{"autoInsertedEnd":1,"dsr":[20,25,3,0]}'>ar</b></a></b></p> -- 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
