Page MenuHomePhabricator

VisualEditor: Templated table cells not rendered properly in VE, but correct in Parsoid output
Closed, ResolvedPublic

Description

Compare the charts table in

In VE, the table cells seem to be squashed into one. The DOM looks like nested divs there, which would explain the different rendering.


Version: unspecified
Severity: normal
See Also:
https://bugzilla.wikimedia.org/show_bug.cgi?id=50951

Details

Reference
bz50607

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 22 2014, 2:03 AM
bzimport set Reference to bz50607.

This is because the HTML looks like <td typeof="mw:Transclusion" about="#mwt139">...</td><td about="#mwt139">...</td> and so the group of table cells is considered a template, and so the CE rendering is wrapped in a <div>. I'd like to be able to render templates (and aliens) without wrapper divs in CE, but I'm not sure how realistic that is.

Wikifram wrote:

Note that this bug affects all 5,000 pages that use Template:Episode list on enwiki.

  • Bug 52485 has been marked as a duplicate of this bug. ***