__TOC__
== First heading ==
=== subheading ===
== Second heading ==
This give HTML validation error.
If you remove the Second heading, the page validates OK.
If you remove the subheading instead, the page validates OK.
If you remove the __TOC__, or replace it with __NOTOC__ in articles with more headings, the page validates OK.