Page MenuHomePhabricator

Parsoid couldn't parse a wikitext table with stray }}
Closed, ResolvedPublic

Description

User report following:
<<I did a minor change to to the text of a page. VE did that change but also broke a wikitable in the section following the one I edited. Related to this is that while in VE the table was not displayed. In its place I saw "{| class="wikitable"" followed by the table contents though not formatted as a table implying this is an issue with VE parsing the original wikitext. To duplicate: Run VE on this page http://en.wikipedia.org/w/index.php?title=User:Marc_Kupper/sandbox2&oldid=569295507. When looking at the diff http://en.wikipedia.org/w/index.php?title=User:Marc_Kupper/sandbox2&diff=569295763&oldid=569295507, I intended to change "Eclipse" to "Ecxxxlipse". The remaining stuff that was changed was a VE generated side-affect. >>

I tried to edit that page as well, and I'd add that while that table does not work for me as well, the over 600-rows table underneath looks ok.
Thanks.


Version: unspecified
Severity: normal

Details

Reference
bz53095

Event Timeline

bzimport raised the priority of this task from to High.Nov 22 2014, 2:02 AM
bzimport set Reference to bz53095.

(User specs, Vista - FF23 - Vector.)

The second gigantic table (and later tables on that page) have a lot of stray "}}" tags which seems to throw off Parsoid's tokenizer. When I tested by stripping those stray "}}" tags, everything was okay. However, Parsoid should not get thrown off so easily by stray "}}" tags.

I am still trying to find a reduced test case. Will update this ticket when I am able to.

ssastry lowered the priority of this task from High to Medium.Dec 4 2014, 8:25 AM
ssastry claimed this task.

Doesn't seem to be an issue anymore.