Page MenuHomePhabricator

Unexpected closing table tag
Closed, ResolvedPublic

Description

In itwiki we have noticed Tidy adds an unwanted closing table tag (</table>) in some situations. I have summarized the problem in this page:
https://it.wikipedia.org/wiki/Utente:Rotpunkt/TableProblem

The page transcludes just another page https://it.wikipedia.org/wiki/Utente:Rotpunkt/TableRow, acting as a template.

As you can see, the second section "Example not working" doesn't work. Tidy indeed adds </table> just after the first row, and so the table is corrupted.
If you disable Tidy, the closing table tag </table> isn't added and the page works correctly, as you can see at:
http://it.wikipedia.org/w/api.php?action=parse&page=User:Rotpunkt/TableProblem&prop=text&disabletidy=true

Event Timeline

Izno claimed this task.
Izno added a subscriber: Izno.

Looks like Remex has fixed this. I see two, not three, </table> in the source.