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:
de995ae
)
Add a test for paragraphs with extra newline spacing
author
Gabriel Wicke
<gwicke@wikimedia.org>
Fri, 3 Aug 2012 23:33:13 +0000
(16:33 -0700)
committer
Gabriel Wicke
<gwicke@wikimedia.org>
Fri, 3 Aug 2012 23:33:13 +0000
(16:33 -0700)
This test simply documents the current PHP parser behavior, so that it remains
compatible while we are tweaking Parsoid.
Change-Id: I807efb93da6c69da124bcab5c7fbd531b4deaa2b
tests/parser/parserTests.txt
patch
|
blob
|
history
diff --git
a/tests/parser/parserTests.txt
b/tests/parser/parserTests.txt
index
dd205f6
..
48e1d7c
100644
(file)
--- a/
tests/parser/parserTests.txt
+++ b/
tests/parser/parserTests.txt
@@
-84,6
+84,29
@@
This is a simple paragraph.
</p>
!! end
+!! test
+Paragraphs with extra newline spacing
+!! input
+foo
+
+bar
+
+
+baz
+
+
+
+booz
+!! result
+<p>foo
+</p><p>bar
+</p><p><br />
+baz
+</p><p><br />
+</p><p>booz
+</p>
+!! end
+
!! test
Simple list
!! input