Merge "Add a parserTest documenting interaction of tabs and preformatted text."
authorjenkins-bot <jenkins-bot@gerrit.wikimedia.org>
Fri, 16 Aug 2013 18:08:02 +0000 (18:08 +0000)
committerGerrit Code Review <gerrit@wikimedia.org>
Fri, 16 Aug 2013 18:08:02 +0000 (18:08 +0000)
tests/parser/parserTests.txt

index 8268fd5..74f4471 100644 (file)
@@ -1331,6 +1331,22 @@ And a <a href="/wiki/Main_Page" title="Main Page">link</a>
 </pre>
 !! end
 
+!! test
+Tabs don't trigger preformatted text
+!! input
+       This is not
+        preformatted text.
+ This is preformatted text.
+       So is this.
+!! result
+<p>    This is not
+        preformatted text.
+</p>
+<pre>This is preformatted text.
+       So is this.
+</pre>
+!! end
+
 !! test
 Ident preformatting with inline content
 !! input