Add parser test case for bug 13728
authorBrion Vibber <brion@users.mediawiki.org>
Mon, 14 Apr 2008 20:27:56 +0000 (20:27 +0000)
committerBrion Vibber <brion@users.mediawiki.org>
Mon, 14 Apr 2008 20:27:56 +0000 (20:27 +0000)
maintenance/parserTests.txt

index 109407e..7b5fc26 100644 (file)
@@ -5857,6 +5857,20 @@ start
 xxx
 !! end
 
+!! test
+Section replacement test with initial whitespace (bug 13728)
+!! options
+replace=2,"xxx"
+!! input
+ Preformatted initial line
+==a==
+===a===
+!! result
+ Preformatted initial line
+==a==
+xxx
+!! end
+
 
 !! test
 Section extraction, heading followed by pre with 20 spaces (bug 6398)