From: jenkins-bot Date: Tue, 30 Jul 2013 19:23:41 +0000 (+0000) Subject: Merge "Add new parserTests for table cell attributes coming from templates." X-Git-Tag: 1.31.0-rc.0~19079 X-Git-Url: https://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/banques/ajouter.php?a=commitdiff_plain;h=011cbf602296e07c01043914c11c49dcb3d3a7bc;hp=7751b289e4aa71af4e3e952faf5fe64899cb7a8c;p=lhc%2Fweb%2Fwiklou.git Merge "Add new parserTests for table cell attributes coming from templates." --- diff --git a/tests/parser/parserTests.txt b/tests/parser/parserTests.txt index e1f2370caa..e7cd420c52 100644 --- a/tests/parser/parserTests.txt +++ b/tests/parser/parserTests.txt @@ -120,6 +120,12 @@ Template:table_attribs |style="color: red"| Foo !! endarticle +!! article +Template:table_cells +!! text +{{table_attribs}} || Bar || Baz +!! endarticle + !! article A?b !! text @@ -3855,6 +3861,36 @@ Template-generated table cell attributes and cell content !! end +!! test +Template-generated table cell attributes and cell content (2) +!! input +{| +|align=center {{table_attribs}} +|} +!! result + + +
Foo +
+ +!! end + +!! test +Template-generated table cell attributes and cell content (3) +!! input +{| +|align=center {{table_cells}} +|} +!! result + + + + +
Foo Bar Baz +
+ +!! end + !! test Table with row followed by newlines and table heading !! input