Test case for bug 6398
authorBrion Vibber <brion@users.mediawiki.org>
Wed, 21 Jun 2006 22:14:06 +0000 (22:14 +0000)
committerBrion Vibber <brion@users.mediawiki.org>
Wed, 21 Jun 2006 22:14:06 +0000 (22:14 +0000)
maintenance/parserTests.txt

index 2a06b53..cdf188c 100644 (file)
@@ -5419,6 +5419,31 @@ extra nasty
 extra nasty
 !! end
 
+
+!! test
+Section extraction, heading followed by pre with 20 spaces (bug 6398)
+!! options
+section=1
+!! input
+==a==
+                    a
+!! result
+==a==
+                    a
+!! end
+
+!! test
+Section extraction, heading followed by pre with 19 spaces (bug 6398 sanity check)
+!! options
+section=1
+!! input
+==a==
+                   a
+!! result
+==a==
+                   a
+!! end
+
 #
 #
 #