Page MenuHomePhabricator

VisualEditor: broken <table> syntax causes VE to inject additional <table> html
Closed, ResolvedPublic

Description

In this case, https://en.wikipedia.org/w/index.php?title=Long_Island&diff=562848384&oldid=562113547 - oh dear.


Version: unspecified
Severity: major

Details

Reference
bz50754

Event Timeline

bzimport raised the priority of this task from to High.Nov 22 2014, 1:44 AM
bzimport added a project: VisualEditor.
bzimport set Reference to bz50754.

A minor change in a completely unrelated part of the article causes a copy of the broken table to be injected into the article, and a '<tr' (no closing >) is also included. Upping priority/importance as it should at least ignore elements it doesnt properly understand. The <table> was not so broken that the wikitext up to the </table> should have been ignored.

I am able to reproduce the '<tr' being added [[testwiki:User:John_Vandenberg/Table_test]], but in my test the table wasnt copied.

After fixing the syntax on enwp, the problem goes away.

https://en.wikipedia.org/w/index.php?title=Long_Island&action=history&offset=201307180315&limit=3

  • This bug has been marked as a duplicate of bug 51217 ***