--- /dev/null
+<root>These should become headings:
+
+<h level="2" i="1">== h ==<comment><!--c1--></comment></h>
+
+<h level="2" i="2">== h == <comment><!--c1--></comment></h>
+
+<h level="2" i="3">== h ==<comment><!--c1--></comment> </h>
+
+<h level="2" i="4">== h == <comment><!--c1--></comment> </h>
+
+<h level="2" i="5">== h ==<comment><!--c1--></comment><comment><!--c2--></comment></h>
+
+<h level="2" i="6">== h == <comment><!--c1--></comment><comment><!--c2--></comment></h>
+
+<h level="2" i="7">== h ==<comment><!--c1--></comment><comment><!--c2--></comment> </h>
+
+<h level="2" i="8">== h == <comment><!--c1--></comment><comment><!--c2--></comment> </h>
+
+<h level="2" i="9">== h == <comment><!--c1--></comment> <comment><!--c2--></comment></h>
+
+<h level="2" i="10">== h ==<comment><!--c1--></comment> <comment><!--c2--></comment> </h>
+
+<h level="2" i="11">== h == <comment><!--c1--></comment> <comment><!--c2--></comment> </h>
+
+<h level="2" i="12">== h ==<comment><!--c1--></comment><comment><!--c2--></comment><comment><!--c3--></comment></h>
+
+<h level="2" i="13">== h ==<comment><!--c1--></comment> <comment><!--c2--></comment><comment><!--c3--></comment></h>
+
+<h level="2" i="14">== h ==<comment><!--c1--></comment><comment><!--c2--></comment> <comment><!--c3--></comment></h>
+
+<h level="2" i="15">== h ==<comment><!--c1--></comment> <comment><!--c2--></comment> <comment><!--c3--></comment></h>
+
+<h level="2" i="16">== h == <comment><!--c1--></comment><comment><!--c2--></comment><comment><!--c3--></comment></h>
+
+<h level="2" i="17">== h == <comment><!--c1--></comment> <comment><!--c2--></comment><comment><!--c3--></comment></h>
+
+<h level="2" i="18">== h == <comment><!--c1--></comment><comment><!--c2--></comment> <comment><!--c3--></comment></h>
+
+<h level="2" i="19">== h == <comment><!--c1--></comment> <comment><!--c2--></comment> <comment><!--c3--></comment></h>
+
+<h level="2" i="20">== h ==<comment><!--c1--></comment><comment><!--c2--></comment><comment><!--c3--></comment> </h>
+
+<h level="2" i="21">== h ==<comment><!--c1--></comment> <comment><!--c2--></comment><comment><!--c3--></comment> </h>
+
+<h level="2" i="22">== h ==<comment><!--c1--></comment><comment><!--c2--></comment> <comment><!--c3--></comment> </h>
+
+<h level="2" i="23">== h ==<comment><!--c1--></comment> <comment><!--c2--></comment> <comment><!--c3--></comment> </h>
+
+<h level="2" i="24">== h == <comment><!--c1--></comment><comment><!--c2--></comment><comment><!--c3--></comment> </h>
+
+<h level="2" i="25">== h == <comment><!--c1--></comment> <comment><!--c2--></comment><comment><!--c3--></comment> </h>
+
+<h level="2" i="26">== h == <comment><!--c1--></comment><comment><!--c2--></comment> <comment><!--c3--></comment> </h>
+
+<h level="2" i="27">== h == <comment><!--c1--></comment> <comment><!--c2--></comment> <comment><!--c3--></comment> </h>
+
+
+Those are not working:
+
+== h ==<comment><!--c1--></comment> <comment><!--c2--></comment>
+
+== h == <comment><!--c1--></comment> <comment><!--c2--></comment>
+
+== h ==<comment><!--c1--></comment> <comment><!--c2--></comment>
+
+== h == x <comment><!--c1--></comment><comment><!--c2--></comment><comment><!--c3--></comment>
+
+== h ==<comment><!--c1--></comment> x <comment><!--c2--></comment><comment><!--c3--></comment>
+
+== h ==<comment><!--c1--></comment><comment><!--c2--></comment><comment><!--c3--></comment> x
+</root>
\ No newline at end of file
--- /dev/null
+These should become headings:
+
+== h ==<!--c1-->
+
+== h == <!--c1-->
+
+== h ==<!--c1-->
+
+== h == <!--c1-->
+
+== h ==<!--c1--><!--c2-->
+
+== h == <!--c1--><!--c2-->
+
+== h ==<!--c1--><!--c2-->
+
+== h == <!--c1--><!--c2-->
+
+== h == <!--c1--> <!--c2-->
+
+== h ==<!--c1--> <!--c2-->
+
+== h == <!--c1--> <!--c2-->
+
+== h ==<!--c1--><!--c2--><!--c3-->
+
+== h ==<!--c1--> <!--c2--><!--c3-->
+
+== h ==<!--c1--><!--c2--> <!--c3-->
+
+== h ==<!--c1--> <!--c2--> <!--c3-->
+
+== h == <!--c1--><!--c2--><!--c3-->
+
+== h == <!--c1--> <!--c2--><!--c3-->
+
+== h == <!--c1--><!--c2--> <!--c3-->
+
+== h == <!--c1--> <!--c2--> <!--c3-->
+
+== h ==<!--c1--><!--c2--><!--c3-->
+
+== h ==<!--c1--> <!--c2--><!--c3-->
+
+== h ==<!--c1--><!--c2--> <!--c3-->
+
+== h ==<!--c1--> <!--c2--> <!--c3-->
+
+== h == <!--c1--><!--c2--><!--c3-->
+
+== h == <!--c1--> <!--c2--><!--c3-->
+
+== h == <!--c1--><!--c2--> <!--c3-->
+
+== h == <!--c1--> <!--c2--> <!--c3-->
+
+
+Those are not working:
+
+== h ==<!--c1--> <!--c2-->
+
+== h == <!--c1--> <!--c2-->
+
+== h ==<!--c1--> <!--c2-->
+
+== h == x <!--c1--><!--c2--><!--c3-->
+
+== h ==<!--c1--> x <!--c2--><!--c3-->
+
+== h ==<!--c1--><!--c2--><!--c3--> x