Merge "More parameter stripping tests: nested and single-line"
authorSubramanya Sastry <ssastry@wikimedia.org>
Thu, 8 Nov 2012 22:41:22 +0000 (22:41 +0000)
committerGerrit Code Review <gerrit@wikimedia.org>
Thu, 8 Nov 2012 22:41:22 +0000 (22:41 +0000)
tests/parser/parserTests.txt

index a1de736..db6a5c7 100644 (file)
@@ -95,6 +95,13 @@ Template:attr_str
 {{{1}}}="{{{2}}}"
 !! endarticle
 
+!! article
+Template:table_attribs
+!! text
+<noinclude>
+|</noinclude>style="color: red"| Foo
+!! endarticle
+
 ###
 ### Basic tests
 ###
@@ -2746,6 +2753,19 @@ Indented table markup mixed with indented pre content (proposed in bug 6200)
 
 !! end
 
+!! test
+Template-generated table cell attributes and cell content
+!! input
+{|
+|{{table_attribs}}
+|}
+!! result
+<table>
+<tr>
+<td style="color: red"> Foo
+</td></tr></table>
+
+!! end
 
 ###
 ### Internal links