From: Brion Vibber Date: Wed, 2 May 2007 18:45:11 +0000 (+0000) Subject: Add parser test for regression bug 9764 X-Git-Tag: 1.31.0-rc.0~53116 X-Git-Url: http://git.cyclocoop.org/%28?a=commitdiff_plain;h=b4797ffc7d050b05ff1f682d82ffe583ced8b3f4;p=lhc%2Fweb%2Fwiklou.git Add parser test for regression bug 9764 --- diff --git a/maintenance/parserTests.txt b/maintenance/parserTests.txt index dd1a6c4c4e..72e0136249 100644 --- a/maintenance/parserTests.txt +++ b/maintenance/parserTests.txt @@ -3369,6 +3369,44 @@ Handling of sections up to level 6 and beyond !! end +!! test +TOC regression (bug 9764) +!! input +== title 1 == +=== title 1.1 === +==== title 1.1.1 ==== +=== title 1.2 === +== title 2 == +=== title 2.1 === +!! result +

Contents

+ +
+

[edit] title 1

+

[edit] title 1.1

+

[edit] title 1.1.1

+

[edit] title 1.2

+

[edit] title 2

+

[edit] title 2.1

+ +!! end + !! test Resolving duplicate section names !! input