Help talk:Lint errors/deletable-table-tag

About this board

Is it for every nested table?

5
Summary by Bdijkstra

No, only *badly* nested tables

Amire80 (talkcontribs)

I'm quite confused about this error. Is it for every nested table? Aren't nested tables sometimes legitimate?

Also, the current doc says "you might prefer the new rendering". If it's a possibility, then why is this lint errors listed under "High priority"?

Or am i misunderstanding something?

SSastry (WMF) (talkcontribs)

It is for every *badly* nested table. If a table is properly nested, it is inside a <td> cell. If it is improperly nested, it is usually inside a <tr> tag which is when this linter detection triggers. Tidy and RemexHTML/Parsoid handle this improper nesting differently. Tidy removes the badly nested inner table. RemexHTML closes the outer table. So, yes, the fix depends on what the editor intention was.

SSastry (WMF) (talkcontribs)

Please edit the help page based on this explanation to clarify any confusion. I am sometimes a bit too close to the problem / solution to do that adequately.

Amire80 (talkcontribs)
SSastry (WMF) (talkcontribs)
There are no older topics