From: C. Scott Ananian Date: Fri, 16 Aug 2013 16:16:15 +0000 (-0400) Subject: Add a parserTest documenting interaction of tabs and preformatted text. X-Git-Tag: 1.31.0-rc.0~18955^2 X-Git-Url: http://git.cyclocoop.org/%22.%24info%5B?a=commitdiff_plain;h=a8448c557df18b6d3744bd5bd6d7a5ed0454443b;p=lhc%2Fweb%2Fwiklou.git Add a parserTest documenting interaction of tabs and preformatted text. Tabs are apparently used this way on the front page of plwiki. Change-Id: I0a65d5a9783071e91696ed2b96887f44199a999d --- diff --git a/tests/parser/parserTests.txt b/tests/parser/parserTests.txt index 91fabb751f..751ec4118f 100644 --- a/tests/parser/parserTests.txt +++ b/tests/parser/parserTests.txt @@ -1310,6 +1310,22 @@ And a link !! end +!! test +Tabs don't trigger preformatted text +!! input + This is not + preformatted text. + This is preformatted text. + So is this. +!! result +

This is not + preformatted text. +

+
This is preformatted text.
+	So is this.
+
+!! end + !! test Ident preformatting with inline content !! input