array("{{Foo|[[[[bar]]|baz]]}}","<root><template><title>Foo</title><part><name index=\"1\" /><value>[[[[bar]]|baz]]</value></part></template></root>"),// This test is important, since it means the difference between having the [[ rule stacked or not
array("== h ==<!--c1-->","<root><h level=\"2\" i=\"1\">== h ==<comment><!--c1--></comment></h></root>"),
array("== h == <!--c1-->","<root><h level=\"2\" i=\"1\">== h == <comment><!--c1--></comment></h></root>"),
array("== h ==<!--c1--> ","<root><h level=\"2\" i=\"1\">== h ==<comment><!--c1--></comment> </h></root>"),
array("== h == <!--c1--> ","<root><h level=\"2\" i=\"1\">== h == <comment><!--c1--></comment> </h></root>"),
array("== h ==<!--c1--><!--c2-->","<root><h level=\"2\" i=\"1\">== h ==<comment><!--c1--></comment><comment><!--c2--></comment></h></root>"),
array("== h == <!--c1--><!--c2-->","<root><h level=\"2\" i=\"1\">== h == <comment><!--c1--></comment><comment><!--c2--></comment></h></root>"),
array("== h ==<!--c1--><!--c2--> ","<root><h level=\"2\" i=\"1\">== h ==<comment><!--c1--></comment><comment><!--c2--></comment> </h></root>"),
array("== h == <!--c1--><!--c2--> ","<root><h level=\"2\" i=\"1\">== h == <comment><!--c1--></comment><comment><!--c2--></comment> </h></root>"),
array("== h == <!--c1--> <!--c2-->","<root><h level=\"2\" i=\"1\">== h == <comment><!--c1--></comment> <comment><!--c2--></comment></h></root>"),
array("== h ==<!--c1--> <!--c2--> ","<root><h level=\"2\" i=\"1\">== h ==<comment><!--c1--></comment> <comment><!--c2--></comment> </h></root>"),
array("== h == <!--c1--> <!--c2--> ","<root><h level=\"2\" i=\"1\">== h == <comment><!--c1--></comment> <comment><!--c2--></comment> </h></root>"),
array("== h ==<!--c1--><!--c2--><!--c3-->","<root><h level=\"2\" i=\"1\">== h ==<comment><!--c1--></comment><comment><!--c2--></comment><comment><!--c3--></comment></h></root>"),
array("== h ==<!--c1--> <!--c2--><!--c3-->","<root><h level=\"2\" i=\"1\">== h ==<comment><!--c1--></comment> <comment><!--c2--></comment><comment><!--c3--></comment></h></root>"),
array("== h ==<!--c1--><!--c2--> <!--c3-->","<root><h level=\"2\" i=\"1\">== h ==<comment><!--c1--></comment><comment><!--c2--></comment> <comment><!--c3--></comment></h></root>"),
array("== h ==<!--c1--> <!--c2--> <!--c3-->","<root><h level=\"2\" i=\"1\">== h ==<comment><!--c1--></comment> <comment><!--c2--></comment> <comment><!--c3--></comment></h></root>"),
array("== h == <!--c1--><!--c2--><!--c3-->","<root><h level=\"2\" i=\"1\">== h == <comment><!--c1--></comment><comment><!--c2--></comment><comment><!--c3--></comment></h></root>"),
array("== h == <!--c1--> <!--c2--><!--c3-->","<root><h level=\"2\" i=\"1\">== h == <comment><!--c1--></comment> <comment><!--c2--></comment><comment><!--c3--></comment></h></root>"),
array("== h == <!--c1--><!--c2--> <!--c3-->","<root><h level=\"2\" i=\"1\">== h == <comment><!--c1--></comment><comment><!--c2--></comment> <comment><!--c3--></comment></h></root>"),
array("== h == <!--c1--> <!--c2--> <!--c3-->","<root><h level=\"2\" i=\"1\">== h == <comment><!--c1--></comment> <comment><!--c2--></comment> <comment><!--c3--></comment></h></root>"),
array("== h ==<!--c1--><!--c2--><!--c3--> ","<root><h level=\"2\" i=\"1\">== h ==<comment><!--c1--></comment><comment><!--c2--></comment><comment><!--c3--></comment> </h></root>"),
array("== h ==<!--c1--> <!--c2--><!--c3--> ","<root><h level=\"2\" i=\"1\">== h ==<comment><!--c1--></comment> <comment><!--c2--></comment><comment><!--c3--></comment> </h></root>"),
array("== h ==<!--c1--><!--c2--> <!--c3--> ","<root><h level=\"2\" i=\"1\">== h ==<comment><!--c1--></comment><comment><!--c2--></comment> <comment><!--c3--></comment> </h></root>"),
array("== h ==<!--c1--> <!--c2--> <!--c3--> ","<root><h level=\"2\" i=\"1\">== h ==<comment><!--c1--></comment> <comment><!--c2--></comment> <comment><!--c3--></comment> </h></root>"),
array("== h == <!--c1--><!--c2--><!--c3--> ","<root><h level=\"2\" i=\"1\">== h == <comment><!--c1--></comment><comment><!--c2--></comment><comment><!--c3--></comment> </h></root>"),
array("== h == <!--c1--> <!--c2--><!--c3--> ","<root><h level=\"2\" i=\"1\">== h == <comment><!--c1--></comment> <comment><!--c2--></comment><comment><!--c3--></comment> </h></root>"),
array("== h == <!--c1--><!--c2--> <!--c3--> ","<root><h level=\"2\" i=\"1\">== h == <comment><!--c1--></comment><comment><!--c2--></comment> <comment><!--c3--></comment> </h></root>"),
array("== h == <!--c1--> <!--c2--> <!--c3--> ","<root><h level=\"2\" i=\"1\">== h == <comment><!--c1--></comment> <comment><!--c2--></comment> <comment><!--c3--></comment> </h></root>"),
array("== h ==<!--c1--> <!--c2-->","<root><h level=\"2\" i=\"1\">== h ==<comment><!--c1--></comment> <comment><!--c2--></comment></h></root>"),
array("== h == <!--c1--> <!--c2-->","<root><h level=\"2\" i=\"1\">== h == <comment><!--c1--></comment> <comment><!--c2--></comment></h></root>"),
array("== h ==<!--c1--> <!--c2--> ","<root><h level=\"2\" i=\"1\">== h ==<comment><!--c1--></comment> <comment><!--c2--></comment> </h></root>"),
array("== h == x <!--c1--><!--c2--><!--c3--> ","<root>== h == x <comment><!--c1--></comment><comment><!--c2--></comment><comment><!--c3--></comment> </root>"),
array("== h ==<!--c1--> x <!--c2--><!--c3--> ","<root>== h ==<comment><!--c1--></comment> x <comment><!--c2--></comment><comment><!--c3--></comment> </root>"),
array("== h ==<!--c1--><!--c2--><!--c3--> x ","<root>== h ==<comment><!--c1--></comment><comment><!--c2--></comment><comment><!--c3--></comment> x </root>"),