dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b2e2b2e
)
Add a parserTest documenting interaction of tabs and preformatted text.
author
C. Scott Ananian
<cscott@cscott.net>
Fri, 16 Aug 2013 16:16:15 +0000
(12:16 -0400)
committer
C. Scott Ananian
<cscott@cscott.net>
Fri, 16 Aug 2013 16:16:15 +0000
(12:16 -0400)
Tabs are apparently used this way on the front page of plwiki.
Change-Id: I0a65d5a9783071e91696ed2b96887f44199a999d
tests/parser/parserTests.txt
patch
|
blob
|
history
diff --git
a/tests/parser/parserTests.txt
b/tests/parser/parserTests.txt
index
91fabb7
..
751ec41
100644
(file)
--- a/
tests/parser/parserTests.txt
+++ b/
tests/parser/parserTests.txt
@@
-1310,6
+1310,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