From: Ævar Arnfjörð Bjarmason Date: Mon, 2 May 2005 10:19:18 +0000 (+0000) Subject: * Adding a test for handling of sections up to level 6 and beyond. X-Git-Tag: 1.5.0alpha1~19 X-Git-Url: http://git.cyclocoop.org//%22javascript:ModifierStyle%28%27%22.%24id.%22%27%29/%22?a=commitdiff_plain;h=bef18b1ec2cc15a84a5c592f0e1e649bd6f826ed;p=lhc%2Fweb%2Fwiklou.git * Adding a test for handling of sections up to level 6 and beyond. --- diff --git a/maintenance/parserTests.txt b/maintenance/parserTests.txt index d7b4f99a33..d01e9ba07d 100644 --- a/maintenance/parserTests.txt +++ b/maintenance/parserTests.txt @@ -1882,6 +1882,65 @@ Some text !! end +# perl -e 'print "="x$_," Level $_ heading","="x$_,"\n" for 1..10' +!! test +Handling of sections up to level 6 and beyond +!! input += Level 1 Heading= +== Level 2 Heading== +=== Level 3 Heading=== +==== Level 4 Heading==== +===== Level 5 Heading===== +====== Level 6 Heading====== +======= Level 7 Heading======= +======== Level 8 Heading======== +========= Level 9 Heading========= +========== Level 10 Heading========== +!! result +

Table of contents

+ +
+

+

+
[edit]

Level 1 Heading

+
[edit]

Level 2 Heading

+
[edit]

Level 3 Heading

+
[edit]

Level 4 Heading

+
[edit]
Level 5 Heading
+
[edit]
Level 6 Heading
+
[edit]
= Level 7 Heading=
+
[edit]
== Level 8 Heading==
+
[edit]
=== Level 9 Heading===
+
[edit]
==== Level 10 Heading====
+ +!! end + !! test Resolving duplicate section names !! options