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:
6716ee4
)
Add test for table with empty line between table and row tag
author
Gabriel Wicke
<gwicke@wikimedia.org>
Tue, 19 Mar 2013 23:31:09 +0000
(16:31 -0700)
committer
Gabriel Wicke
<gwicke@wikimedia.org>
Tue, 19 Mar 2013 23:31:09 +0000
(16:31 -0700)
Test case:
{|
|-
| foo
|}
Change-Id: I71c0be624aef3b9cf40b58cab8c7a448dda44033
tests/parser/parserTests.txt
patch
|
blob
|
history
diff --git
a/tests/parser/parserTests.txt
b/tests/parser/parserTests.txt
index
30d4751
..
03f9659
100644
(file)
--- a/
tests/parser/parserTests.txt
+++ b/
tests/parser/parserTests.txt
@@
-3282,6
+3282,24
@@
Table with row followed by newlines and table heading
!! end
+!! test
+Table with empty line following the start tag
+!! input
+{|
+
+|-
+| foo
+|}
+!! result
+<table>
+
+
+<tr>
+<td> foo
+</td></tr></table>
+
+!! end
+
# FIXME: Preserve the attribute properly (with an empty string as value) in
# the PHP parser. Parsoid implements the behavior below.
!! test