On Tue, Aug 18, 2015 at 11:48 PM, Derk-Jan Hartman < d.j.hartman+wmf_ml@gmail.com> wrote:
If we want to do away with Tidy, we will have to make all editors perfect html authors
In my experience, mismatched tags are quite often used on purpose. For example, Cyberpower678 has two unmatched div tags at the end of his StandardLayout template https://en.wikipedia.org/wiki/User:Cyberpower678/StandardLayout, used to put a shaded border round the posts on his talk page https://en.wikipedia.org/wiki/User_talk:Cyberpower678. There are no corresponding closing div tags at the end of the talk page, as they would be moved by the talk page archive bot, and Tidy takes care of the invalid HTML anyway.