ಕ",
"print": "*{{1x|<div>a\n*b\n}}</div>ಕ"
},
{
@@ -1280,7 +1280,7 @@
"desc": "List items are not parsed correctly following a
block (T2785)",
"wikitext": "*
foo
\n*
bar
\n*zar",
"html": "
foo
\n
bar
\n
zar
",
- "render": "
foo
\n
bar
\n
zar
",
+ "render": "
foo
\n
bar
\n
zar
",
"print": "*<pre>foo</pre>\n*<pre>bar</pre>\n*zar"
},
{
@@ -1301,14 +1301,14 @@
"desc": "Multiple list tags generated by templates",
"wikitext": "{{1x|
}}a\n{{1x|
}}b\n{{1x|
}}c",
"html": "
a\n
b\n
c
",
- "render": "
a\n
b\n
c",
+ "render": "
a\n
b\n
c",
"print": "{{1x|<li>}}a\n{{1x|<li>}}b\n{{1x|<li>}}c"
},
{
"desc": "Multiple newlines in between HTML list items don't induce paragraph wrapping",
"wikitext": "
\n
hi
\n\n\n\n\n
ho
\n
\n\n
\n
hi
\n
ho
123
\n
\n\n\n
",
"html": "
\n
hi
\n\n\n\n\n
ho
\n
\n
\n
hi
\n
ho
123
\n
\n\n\n
",
- "render": "
\n
hi
\n\n\n\n\n
ho
\n
\n
\n
hi
\n
ho
123
\n
\n\n\n
",
+ "render": "
\n
hi
\n\n\n\n\n
ho
\n
\n
\n
hi
\n
ho
123
\n
\n\n\n
",
"print": "<ul>\n<li>hi</li>\n\n\n\n\n<li>ho</li>\n</ul>\n\n<dl>\n<dt>hi</dt>\n<dd>ho<div>123</div>\n</dd>\n\n\n</dl>"
},
{
@@ -1329,7 +1329,7 @@
"desc": "Test the li-hack (a hack from Tidy days, but doesn't work as advertised with Remex)",
"wikitext": "*foo\n*
li-hack\n**bar1\n*{{1x|
templated li-hack}}\n**bar2\n*
unsupported li-hack with preceding comments\n\n
\n
not a li-hack\n
\n
",
"html": "
foo
\n
li-hack\n
bar1
\n
templated li-hack\n
bar2
\n
unsupported li-hack with preceding comments
\n
\n
not a li-hack\n
\n
",
- "render": "
foo
\n
li-hack\n
bar1
\n
templated li-hack\n
bar2
\n
unsupported li-hack with preceding comments
\n
\n
not a li-hack\n
\n
",
+ "render": "
foo
\n
li-hack\n
bar1
\n
templated li-hack\n
bar2
\n
unsupported li-hack with preceding comments
\n
\n
not a li-hack\n
\n
",
"print": "*foo\n*<li>li-hack\n**bar1\n*{{1x|<li>templated li-hack}}\n**bar2\n*<!--foo--><li> unsupported li-hack with preceding comments\n\n<ul>\n<li><li>not a li-hack\n</li>\n</ul>"
},
{
@@ -1350,49 +1350,49 @@
"desc": "Unbalanced closing block tags break a list",
"wikitext": "
",
"print": "{{a<b>|{{1x|foo}}|{{1x|a}}={{1x|b}}|a = b}}"
},
{
@@ -1666,14 +1666,14 @@
"desc": "T2553: link with two variables in a piped link",
"wikitext": "{|\n|[[{{{1}}}|{{{2}}}]]\n|}",
"html": "
\n
\n
[[{{{1}}}|{{{2}}}]]\n
",
- "render": "
\n
\n
[[{{{1}}}|{{{2}}}]]\n
",
+ "render": "
\n
\n
[[{{{1}}}|{{{2}}}]]\n
",
"print": "{|\n|[[{{{1}}}|{{{2}}}]]\n|}"
},
{
"desc": "Bail on table cell attribute parsing on wikilink",
"wikitext": "{|\n|testing [[one|two]] |three||four\n|testing one two |three||four\n|testing=\"[[one|two]]\" |three||four\n|}",
"html": "
",
"print": "{{1x|<div>Foo</div>}}{{1x|<div>bar</div>}}"
},
{
@@ -2101,7 +2101,7 @@
"desc": "Drop stripped tag markers, unless they have encapsulation info",
"wikitext": "{{1x|
}}",
"html": "",
- "render": "
",
+ "render": "
",
"print": "{{1x|<tr></tr>}}"
},
{
@@ -2218,14 +2218,14 @@
"desc": "Templates: Support for templates generating attributes and content",
"wikitext": "{| {{mixed_attr_content_template}}\n|-\n|bar\n|}",
"html": "
\n\n
\n
foo\n
\n
\n
bar\n
",
- "render": "
\n
\n
foo\n
\n
bar\n
",
+ "render": "
\n
\n
foo\n
\n
bar\n
",
"print": "{|{{mixed_attr_content_template}}\n|-\n|bar\n|}"
},
{
"desc": "Templates: Support for templates generating table attributes and content (with fostered categories)",
"wikitext": "{| {{mixed_attr_content_template_2}}\n|-\n|bar\n|}",
"html": "
\n
\n
foo\n
\n
\n
bar\n
",
- "render": "
\n
\n
foo\n
\n
bar\n
",
+ "render": "
\n
\n
foo\n
\n
bar\n
",
"print": "{|{{mixed_attr_content_template_2}}\n|-\n|bar\n|}"
},
{
@@ -2244,154 +2244,154 @@
"desc": "2. Entities and nowikis inside templated attributes should be handled correctly",
"wikitext": "{|\n|{{table_attribs_3}}\n|}",
"html": "
\n
\n
Foo\n
",
- "render": "
\n
\n
Foo\n
",
+ "render": "
\n
\n
Foo\n
",
"print": "{|\n|{{table_attribs_3}}\n|}"
},
{
"desc": "3. Entities and nowikis inside templated attributes should be handled correctly inside templated tables",
"wikitext": "{{tbl-start}}\n|{{table_attribs_3}}\n{{tbl-end}}",
"html": "
\n
\n
Foo\n
",
- "render": "
\n
\n
Foo\n
",
+ "render": "
\n
\n
Foo\n
",
"print": "{{tbl-start}}\n|{{table_attribs_3}}\n{{tbl-end}}"
},
{
"desc": "4. Entities and nowikis inside templated attributes should be handled correctly inside templated tables",
"wikitext": "{|\n|{{table_attribs_6}} hi\n|}",
"html": "
\n
\n
hi\n
",
- "render": "
\n
\n
hi\n
",
+ "render": "
\n
\n
hi\n
",
"print": "{|\n|{{table_attribs_6}} hi\n|}"
},
{
"desc": "Extension tag in templated tag attribute",
"wikitext": "{{1x|1=\n{{{!}} class=\"123\" \n{{!}} hi\n{{!}}}\n}}",
"html": "
\n
\n
hi\n
",
- "render": "
\n
\n
hi\n
",
+ "render": "
\n
\n
hi\n
",
"print": "{{1x|1=\n{{{!}}class=\"123\"<nowiki/>\n{{!}} hi\n{{!}}}\n}}"
},
{
"desc": "Templates: HTML Tables: 1. Generating start of a HTML table",
"wikitext": "{{1x|
foo
}}
",
"html": "
foo
",
- "render": "
foo
",
+ "render": "
foo
",
"print": "{{1x|<table><tr><td>foo</td>}}</tr></table>"
},
{
"desc": "Templates: HTML Tables: 2a. Generating middle of a HTML table",
"wikitext": "
{{1x|
foo
}}
",
"html": "
foo
",
- "render": "
foo
",
+ "render": "
foo
",
"print": "<table><tr>{{1x|<td>foo</td>}}</tr></table>"
},
{
"desc": "Templates: HTML Tables: 2b. Generating middle of a HTML table",
"wikitext": "
{{1x|
foo
}}
",
"html": "
foo
",
- "render": "
foo
",
+ "render": "
foo
",
"print": "<table>{{1x|<tr><td>foo</td></tr>}}</table>"
},
{
"desc": "Templates: HTML Tables: 3. Generating end of a HTML table",
"wikitext": "
{{1x|
foo
}}",
"html": "
foo
",
- "render": "
foo
",
+ "render": "
foo
",
"print": "<table><tr>{{1x|<td>foo</td></tr></table>}}"
},
{
"desc": "Templates: HTML Tables: 4a. Generating a single tag of a HTML table",
"wikitext": "{{1x|
}}
foo
",
"html": "
foo
",
- "render": "
foo
",
+ "render": "
foo
",
"print": "{{1x|<table>}}<tr><td>foo</td></tr></table>"
},
{
"desc": "Templates: HTML Tables: 4b. Generating a single tag of a HTML table",
"wikitext": "
{{1x|
}}
foo
",
"html": "
foo
",
- "render": "
foo
",
+ "render": "
foo
",
"print": "<table>{{1x|<tr>}}<td>foo</td></tr></table>"
},
{
"desc": "Templates: HTML Tables: 4c. Generating a single tag of a HTML table",
"wikitext": "
{{1x|
}}foo
",
"html": "
foo
",
- "render": "
foo
",
+ "render": "
foo
",
"print": "<table><tr>{{1x|<td>}}foo</td></tr></table>"
},
{
"desc": "Templates: HTML Tables: 4d. Generating a single tag of a HTML table",
"wikitext": "
foo{{1x|
}}
",
"html": "
foo
",
- "render": "
foo
",
+ "render": "
foo
",
"print": "<table><tr><td>foo{{1x|</td>}}</tr></table>"
},
{
"desc": "Templates: HTML Tables: 4e. Generating a single tag of a HTML table",
"wikitext": "
foo
{{1x|
}}
",
"html": "
foo
",
- "render": "
foo
",
+ "render": "
foo
",
"print": "<table><tr><td>foo</td>{{1x|</tr>}}</table>"
},
{
"desc": "Templates: HTML Tables: 4f. Generating a single tag of a HTML table",
"wikitext": "
foo
{{1x|
}}",
"html": "
foo
",
- "render": "
foo
",
+ "render": "
foo
",
"print": "<table><tr><td>foo</td></tr>{{1x|</table>}}"
},
{
"desc": "Templates: HTML Tables: 5. Proper fostering of categories from inside",
"wikitext": "
",
"print": "{{<u {{{{[[Sx-->}}"
},
{
"desc": "Fuzz testing: Parser24",
"wikitext": "{|\n{{{|\n}}}} >\n \n\nMOVE YOUR MOUSE CURSOR OVER THIS TEXT\n|",
"html": "{{{|\n}}}} >\n \n\nMOVE YOUR MOUSE CURSOR OVER THIS TEXT\n
\n
\n
\n
\n
",
- "render": "{{{| }}}} > MOVE YOUR MOUSE CURSOR OVER THIS TEXT
\n
\n
\n
",
+ "render": "{{{| }}}} > MOVE YOUR MOUSE CURSOR OVER THIS TEXT
\n
\n
\n
",
"print": "{|\n{{{|\n<uCLASS=\n| {{{{SSSll!!!!!!!VVVV)]]][[Special:*xxxxxxx--><noinclude>}}}} >\n<brstyle=\"onmouseover='alert(document.cookie);' \"/>\n\nMOVE YOUR MOUSE CURSOR OVER THIS TEXT\n|"
},
{
@@ -3711,7 +3711,7 @@
"desc": "Fuzz testing: URL adjacent extension (no space, dirty; pre)",
"wikitext": "http://example.com
",
"print": "http://example.com<pre>junk</pre>"
},
{
@@ -3737,14 +3737,14 @@
"desc": "Parsing optional HTML elements (T8171)",
"wikitext": "
\n
\n
Some tabular data
\n
More tabular data ...\n
And yet som tabular data
\n
\n
",
"html": "
\n
\n
Some tabular data
\n
More tabular data ...\n
And yet som tabular data
\n
\n
",
- "render": "
\n
\n
Some tabular data
\n
More tabular data ...\n
And yet som tabular data
\n
\n
",
+ "render": "
\n
\n
Some tabular data
\n
More tabular data ...\n
And yet som tabular data
\n
\n
",
"print": "<table>\n <tr>\n <td> Some tabular data</td>\n <td> More tabular data ...\n <td> And yet som tabular data</td>\n </tr>\n</table>"
},
{
"desc": "Correct handling of
,
(T8171)",
"wikitext": "
\n
\n
Some tabular data
\n
More tabular data ...
\n
And yet som tabular data
\n
\n
",
"html": "
\n
\n
Some tabular data
\n
More tabular data ...
\n
And yet som tabular data
\n
\n
",
- "render": "
\n
\n
Some tabular data
\n
More tabular data ...
\n
And yet som tabular data
\n
\n
",
+ "render": "
\n
\n
Some tabular data
\n
More tabular data ...
\n
And yet som tabular data
\n
\n
",
"print": "<table>\n <tr>\n <td> Some tabular data</td>\n <td> More tabular data ...</td>\n <td> And yet som tabular data</td>\n </tr>\n</table>"
},
{
@@ -3765,7 +3765,7 @@
"desc": "Inline HTML vs wiki block nesting",
"wikitext": "Bold paragraph\n\nNew wiki paragraph",
"html": "
",
"print": "{|\n|colspan=\"1\"|foo {{!}} bar\n|}"
},
{
@@ -4159,7 +4159,7 @@
"desc": "T24905: followed by ISBN followed by ",
"wikitext": "(fr) ISBN 2753300917 [http://www.example.com example.com]",
"html": "
",
"print": "x\n\n{{table}}\ny"
},
{
@@ -4463,91 +4463,91 @@
"desc": "Paragraphs inside divs (no extra line breaks)",
"wikitext": "
Line one\n\nLine two
",
"html": "
Line one\nLine two
",
- "render": "
Line one\nLine two
",
+ "render": "
Line one\nLine two
",
"print": "<div>Line one\n\nLine two</div>"
},
{
"desc": "Paragraphs inside divs (extra line break on open)",
"wikitext": "
\nLine one\n\nLine two
",
"html": "
\n
Line one\n
\nLine two
",
- "render": "
\n
Line one\n
\nLine two
",
+ "render": "
\n
Line one\n
\nLine two
",
"print": "<div>\nLine one\n\nLine two</div>"
},
{
"desc": "Paragraphs inside divs (extra line break on close)",
"wikitext": "
Line one\n\nLine two\n
",
"html": "
Line one\n
Line two\n
\n
",
- "render": "
Line one\n
Line two\n
\n
",
+ "render": "
Line one\n
Line two\n
\n
",
"print": "<div>Line one\n\nLine two\n</div>"
},
{
"desc": "Paragraphs inside divs (extra line break on open and close)",
"wikitext": "
\nLine one\n\nLine two\n
",
"html": "
\n
Line one\n
Line two\n
\n
",
- "render": "
\n
Line one\n
Line two\n
\n
",
+ "render": "
\n
Line one\n
Line two\n
\n
",
"print": "<div>\nLine one\n\nLine two\n</div>"
},
{
"desc": "Nesting tags, paragraphs on lines which begin with
",
"wikitext": "A\nB",
"html": "
A\n
B\n
",
- "render": "A\n
B
\n",
+ "render": "A\n
B
\n",
"print": "<div></div><strong>A\nB</strong>"
},
{
"desc": "T8200: paragraphs inside blockquotes (no extra line breaks)",
"wikitext": "
Line one\n\nLine two
",
"html": "
Line one\nLine two
",
- "render": "
Line one\nLine two
",
+ "render": "
Line one\nLine two
",
"print": "<blockquote>Line one\n\nLine two</blockquote>"
},
{
"desc": "T8200: paragraphs inside blockquotes (extra line break on open)",
"wikitext": "
\nLine one\n\nLine two
",
"html": "
\n
Line one\n
\nLine two
",
- "render": "
\n
Line one\n
\nLine two
",
+ "render": "
\n
Line one\n
\nLine two
",
"print": "<blockquote>\nLine one\n\nLine two</blockquote>"
},
{
"desc": "T8200: paragraphs inside blockquotes (extra line break on close)",
"wikitext": "
Line one\n\nLine two\n
",
"html": "
Line one\n
Line two\n
\n
",
- "render": "
Line one\n
Line two\n
\n
",
+ "render": "
Line one\n
Line two\n
\n
",
"print": "<blockquote>Line one\n\nLine two\n</blockquote>"
},
{
"desc": "T8200: paragraphs inside blockquotes (extra line break on open and close)",
"wikitext": "
\nLine one\n\nLine two\n
",
"html": "
\n
Line one\n
Line two\n
\n
",
- "render": "
\n
Line one\n
Line two\n
\n
",
+ "render": "
\n
Line one\n
Line two\n
\n
",
"print": "<blockquote>\nLine one\n\nLine two\n</blockquote>"
},
{
"desc": "Paragraphs inside blockquotes/divs (no extra line breaks)",
"wikitext": "
Line one\n\nLine two
",
"html": "
Line one\nLine two
",
- "render": "
Line one\nLine two
",
+ "render": "
Line one\nLine two
",
"print": "<blockquote><div>Line one\n\nLine two</div></blockquote>"
},
{
"desc": "Paragraphs inside blockquotes/divs (extra line break on open)",
"wikitext": "
\nLine one\n\nLine two
",
"html": "
\n
Line one\n
\nLine two
",
- "render": "
\n
Line one\n
\nLine two
",
+ "render": "
\n
Line one\n
\nLine two
",
"print": "<blockquote><div>\nLine one\n\nLine two</div></blockquote>"
},
{
"desc": "Paragraphs inside blockquotes/divs (extra line break on close)",
"wikitext": "
Line one\n\nLine two\n
",
"html": "
Line one\n
Line two\n
\n
",
- "render": "
Line one\n
Line two\n
\n
",
+ "render": "
Line one\n
Line two\n
\n
",
"print": "<blockquote><div>Line one\n\nLine two\n</div></blockquote>"
},
{
"desc": "Paragraphs inside blockquotes/divs (extra line break on open and close)",
"wikitext": "
",
"print": "{|\n <!--hi-->|-\n |there\n|}"
},
{
"desc": "Empty TR followed by a template-generated TR",
"wikitext": "{|\n|-\n{{1x|
foo
}}\n|}",
"html": "
\n\n
foo
\n
",
- "render": "
foo
\n
",
+ "render": "
foo
\n
",
"print": "{|\n|-\n{{1x|<tr><td>foo</td></tr>}}\n|}"
},
{
"desc": "Empty TR followed by mixed-ws-comment line should RT correctly",
"wikitext": "{|\n|-\n \n|-\n \n|}",
"html": "
\n\n\n
",
- "render": "
\n
",
+ "render": "
\n
",
"print": "{|\n|-\n <!--c-->\n|-\n<!--c--><!--d-->\n|}"
},
{
@@ -5244,14 +5244,14 @@
"desc": "1. Ensure fostered text content is wrapped in element nodes",
"wikitext": "
hi
ho
",
"html": "hi
ho
",
- "render": "
hi
ho
",
+ "render": "
hi
ho
",
"print": "<table>hi</table><table>ho</table>"
},
{
"desc": "2. Ensure fostered text content is wrapped in element nodes (traps regressions around fostered marker on the element getting lost)",
"wikitext": "
\n
|| ||\n
a\n
",
"html": "|| ||\n
\n
a\n
",
- "render": "
\n
|| ||\n
a\n
",
+ "render": "
\n
|| ||\n
a\n
",
"print": "<table>\n<tr> || ||\n<td> a\n</table>"
},
{
@@ -5912,7 +5912,7 @@
"desc": "Don't escape pre elements that fail to parse as extension tags",
"wikitext": "
closed is extension tag, so everything is text
\n
unclosed is not, so these are tags",
"html": "
closed is extension tag, so everything is <span>text</span>
\n
unclosed is not, so these are tags
",
- "render": "
closed is extension tag, so everything is <span>text</span>
\n
unclosed is not, so these are tags",
+ "render": "
closed is extension tag, so everything is <span>text</span>
\n
unclosed is not, so these are tags",
"print": "<pre>closed is extension tag, so everything is <span>text</span></pre>\n<pre>unclosed is not, so these are <span>tags</span>"
},
{
@@ -6013,7 +6013,7 @@
"desc": "Decoding of HTML entities in embedded HTML tags",
"wikitext": "
x
",
"html": "
x
",
- "render": "
x
",
+ "render": "
x
",
"print": "<tableclass=\"1&2&3&amp;4&amp;amp;5\"><tr><td>x</td></tr></table>"
},
{
@@ -6577,7 +6577,7 @@
"desc": " in expanded attributes of tags (legitimate or otherwise)",
"wikitext": "{|\n|- boo\n|x\n|}\n",
"html": "
",
"print": "{|\n|-<ref>boo</ref>\n|x\n|}\n<references/>"
},
{
@@ -6682,14 +6682,14 @@
"desc": "\"follow\" after a named ref but before its parent",
"wikitext": "First\nSecond\nThird\n\n",
"html": "
\n",
"print": "<refname=\"first\">First</ref>\n<reffollow=\"third\">Second</ref>\n<refname=\"third\">Third</ref>\n<hr/>\n<references/>"
},
{
"desc": "\"follow\" after an anonymous ref but before its parent",
"wikitext": "First\nSecond\nThird\n\n",
"html": "
",
"print": "<dl>\n<dt>test 1</dt>\n<dd>test test test test test</dd>\n<dt>test 2</dt>\n<dd>test test test test test</dd>\n</dl>"
},
{
"desc": "Definition and unordered list using wiki syntax nested in unordered list using html tags.",
"wikitext": "
\n;term :description\n*unordered\n
",
"html": "
\n
term
\n
description
\n
unordered
\n
",
- "render": "
\n
term
\n
description
\n
unordered
\n
",
+ "render": "
\n
term
\n
description
\n
unordered
\n
",
"print": "<ul><li>\n;term :description\n*unordered\n</li></ul>"
},
{
@@ -7783,7 +7783,7 @@
"desc": "Nested definition lists using html syntax",
"wikitext": "
x
\n
a
\n
b
",
"html": "
x
\n
a
\n
b
",
- "render": "
x
\n
a
\n
b
",
+ "render": "
x
\n
a
\n
b
",
"print": "<dl><dt>x</dt>\n<dd>a</dd>\n<dd>b</dd></dl>"
},
{
@@ -7818,14 +7818,14 @@
"desc": "Definition Lists: Hacky use to indent tables",
"wikitext": "::{|\n|foo\n|bar\n|}\nthis text\nshould be left alone",
"html": "
\n
\n
foo\n
\n
bar\n
\n
this text\nshould be left alone\n
",
- "render": "
\n
\n
foo\n
\n
bar\n
\n
this text\nshould be left alone\n
",
+ "render": "
\n
\n
foo\n
\n
bar\n
\n
this text\nshould be left alone\n
",
"print": "::{|\n|foo\n|bar\n|}\nthis text\nshould be left alone"
},
{
"desc": "Definition Lists: Hacky use to indent tables (with content following table)",
"wikitext": ":{|\n|foo\n|bar\n|} this text should be part of the dl",
"html": "
\n
\n
foo\n
\n
bar\n
this text should be part of the dl
",
- "render": "
\n
\n
foo\n
\n
bar\n
this text should be part of the dl
",
+ "render": "
\n
\n
foo\n
\n
bar\n
this text should be part of the dl
",
"print": ":{|\n|foo\n|bar\n|}<!--c1--> this text should be part of the dl"
},
{
@@ -7842,35 +7842,35 @@
"desc": "Definition Lists: Hack use to indent tables, in a nested list context (T262943)",
"wikitext": "This is a discussion thread.\n\n:Parent comment.\n::Child comment\n::{|\n|With a\n|Table!\n|}",
"html": "
This is a discussion thread.\n
\n
Parent comment.\n
Child comment
\n
\n
\n
With a\n
\n
Table!\n
",
- "render": "
This is a discussion thread.\n
\n
Parent comment.\n
Child comment
\n
\n
\n
With a\n
\n
Table!\n
",
+ "render": "
This is a discussion thread.\n
\n
Parent comment.\n
Child comment
\n
\n
\n
With a\n
\n
Table!\n
",
"print": "This is a discussion thread.\n\n:Parent comment.\n::Child comment\n::{|\n|With a\n|Table!\n|}"
},
{
"desc": "Definition Lists: Hacky use to indent tables (WS-insensitive)",
"wikitext": ":{|\n|a\n|}",
"html": "
\n
\n
a\n
",
- "render": "
\n
\n
a\n
",
+ "render": "
\n
\n
a\n
",
"print": ":{|\n|a\n|}"
},
{
"desc": "Definition Lists: Hacky use to indent tables (nl-insensitive)",
"wikitext": ":{|\n\n\n|a\n|}",
"html": "
\n\n\n
\n
a\n
",
- "render": "
\n
\n
a\n
",
+ "render": "
\n
\n
a\n
",
"print": ":{|\n\n\n|a\n|}"
},
{
"desc": "Table / list interaction: indented table with lists in table contents",
"wikitext": ":{|\n|-\n|a\n\n*b\n|-\n|c\n\n*d\n|}",
"html": "
\n\n
\n
a\n
b
\n
\n
\n
c\n
d
\n
",
- "render": "
\n
\n
a\n
b
\n
\n
c\n
d
\n
",
+ "render": "
\n
\n
a\n
b
\n
\n
c\n
d
\n
",
"print": ":{|\n|-\n|a\n\n*b\n|-\n|c\n\n*d\n|}"
},
{
"desc": "Table / list interaction: lists nested in tables nested in indented lists",
"wikitext": ":{|\n|\n:a\n:b\n|\n*c\n*d\n|}\n\n*e\n*f",
"html": "
",
"print": "{{#switch:a|b|<div>c</div>}}"
},
{
@@ -9169,21 +9169,21 @@
"desc": "T35845 (2): Headings become bold in TOC when they contain a blockquote",
"wikitext": "__TOC__\n==
",
"print": " a <p> foo </p>\n b <div> foo </div>\n c <blockquote> foo </blockquote>\n <span> foo </span>"
},
{
"desc": "3b. Indent-Pre and block tags (multi-line html)",
"wikitext": " a foo\n b
foo
",
"html": "
a foo\n
\n b
foo
",
- "render": "
a foo\n
\n b
foo
",
+ "render": "
a foo\n
\n b
foo
",
"print": " a <span>foo</span>\n<!-- comment --> b <div> foo </div>"
},
{
"desc": "3c. Indent-Pre and block tags (pre-content on separate line)",
"wikitext": "
\n foo\n
\n\n
\n foo\n
\n\n
\n foo\n
\n\n
\n foo\n
\n\n
\n
\nfoo\n
\n
\n\n
\n foo\n
\n\n
\n foo\n
",
"html": "
\n foo\n
\n
\n
foo\n
\n
\n
\n
foo\n
\n
\n
\n
foo\n
\n
\n
\n
foo\n
\n
\n
\n
foo\n
\n
\n
\n foo\n
",
- "render": "
\n foo\n
\n
\n
foo\n
\n
\n
\n
foo\n
\n
\n
\n
foo\n
\n
\n
\n
foo
\n
\n
\n
foo\n
\n
\n
\n foo\n
",
+ "render": "
\n foo\n
\n
\n
foo\n
\n
\n
\n
foo\n
\n
\n
\n
foo\n
\n
\n
\n
foo
\n
\n
\n
foo\n
\n
\n
\n foo\n
",
"print": "<p>\n foo\n</p>\n\n<div>\n foo\n</div>\n\n<center>\n foo\n</center>\n\n<blockquote>\n foo\n</blockquote>\n\n<blockquote>\n<pre>\nfoo\n</pre>\n</blockquote>\n\n<table><tr><td>\n foo\n</td></tr></table>\n\n<ul><li>\n foo\n</li></ul>"
},
{
@@ -9685,21 +9685,21 @@
"desc": "Render paragraphs when indent-pre is suppressed in blocklevels",
"wikitext": "
",
"print": ";<b>foo:bar\n;-{zh-cn:AAA"
},
{
@@ -11665,7 +11665,7 @@
"desc": "Image: caption containing a table",
"wikitext": "[[Image:Foobar.jpg|thumb|200px|This is an example image thumbnail caption with a table\n{|\n!Foo!!Bar\n|-\n|Foo1||Bar1\n|}\nand some more text.]]",
"html": "
This is an example image thumbnail caption with a table
Foo
Bar
Foo1
Bar1
and some more text.
",
- "render": "
This is an example image thumbnail caption with a table
Foo
Bar
Foo1
Bar1
and some more text.
",
+ "render": "
This is an example image thumbnail caption with a table
Foo
Bar
Foo1
Bar1
and some more text.
",
"print": "[[Image:Foobar.jpg|thumb|200px|This is an example image thumbnail caption with a table\n{|\n!Foo!!Bar\n|-\n|Foo1||Bar1\n|}\nand some more text.]]"
},
{
@@ -12159,28 +12159,28 @@
"desc": "1. Treebuilder fixup of formatting elt",
"wikitext": "{|\n|\n\n[[Image:Foobar.jpg|right|Test]]\n\n|}",
"html": "
",
"print": "'''<table><tr><td>hi</td></tr></table>'''"
},
{
@@ -13480,7 +13480,7 @@
"desc": "Quote balancing context should be restricted to td/th cells on the same wikitext line",
"wikitext": "{|\n!''a!!''b\n|''a||''b\n|}",
"html": "
\n
\n
a
\n
b\n
\n
a
\n
b\n
",
- "render": "
\n
\n
a
\n
b\n
\n
a
\n
b\n
",
+ "render": "
\n
\n
a
\n
b\n
\n
a
\n
b\n
",
"print": "{|\n!''a!!''b\n|''a||''b\n|}"
},
{
@@ -13662,217 +13662,217 @@
"desc": "Tables with multiple newlines after individual lines embedded in links",
"wikitext": "[[Test|\n{|\n\n|test\n|}]]",
"html": "
",
"print": "[[Test|\n{|\n\n|test\n|}]]"
},
{
"desc": "A table with no data.",
"wikitext": "{||}",
"html": "",
- "render": "
\n
",
+ "render": "
\n
",
"print": "{||}"
},
{
"desc": "A table with no data (take 2)",
"wikitext": "{|\n|}",
"html": "
\n
",
- "render": "
\n
",
+ "render": "
\n
",
"print": "{|\n|}"
},
{
"desc": "A table with no data generated by a
markup",
"wikitext": "
",
"html": "
",
- "render": "
",
+ "render": "
",
"print": "<table></table>"
},
{
"desc": "Parsoid: Don't paragraph-wrap fosterable content even if table syntax is unbalanced",
"wikitext": "{|\n
\n
\n
\n\n\n\n|}",
"html": "
\n
\n
\n
\n\n\n\n
",
- "render": "
\n
",
+ "render": "
\n
",
"print": "{|\n<td>\n<td>\n</td>\n\n\n\n|}"
},
{
"desc": "A table with stray table end tags on start tag line (wt2html)",
"wikitext": "{|style=\"color: red;\"|}\n\n{|style=\"color: red;\" |}\n|foo\n|}\n\n{|style=\"color: red;\"|} id=\"foo\"\n|foo\n|}\n\n{|style=\"color: red;\" |} id=\"foo\"\n|foo\n|}",
"html": "
\n\n
\n
\n
foo\n
\n
\n
\n
foo\n
\n
\n
\n
foo\n
",
- "render": "
\n
\n
\n
\n
foo\n
\n
\n
\n
foo\n
\n
\n
\n
foo\n
",
+ "render": "
\n
\n
\n
\n
foo\n
\n
\n
\n
foo\n
\n
\n
\n
foo\n
",
"print": "{|style=\"color: red;\"|}\n\n{|style=\"color: red;\" |}\n|foo\n|}\n\n{|style=\"color: red;\"|} id=\"foo\"\n|foo\n|}\n\n{|style=\"color: red;\" |} id=\"foo\"\n|foo\n|}"
},
{
"desc": "A table with nothing but a caption",
"wikitext": "{|\n|+caption\n|}",
"html": "
\n
caption\n
",
- "render": "
\n\n
caption
",
+ "render": "
\n\n
caption
",
"print": "{|\n|+caption\n|}"
},
{
"desc": "A table with caption with default-spaced attributes and a table row",
"wikitext": "{|\n|+ style=\"color: red;\" |caption1\n|-\n|foo\n|}",
"html": "
\n
caption1\n
\n
\n
foo\n
",
- "render": "
\n\n
caption1
\n
foo\n
",
+ "render": "
\n\n
caption1
\n
foo\n
",
"print": "{|\n|+style=\"color: red;\"|caption1\n|-\n|foo\n|}"
},
{
"desc": "A table with captions with non-default spaced attributes and a table row",
"wikitext": "{|\n|+style=\"color: red;\"|caption2\n|+ style=\"color: red;\"|caption3\n|-\n|foo\n|}",
"html": "
\n
caption2\n
\n
caption3\n
\n
\n
foo\n
",
- "render": "
\n\n
caption2
\n
caption3
\n
foo\n
",
+ "render": "
\n\n
caption2
\n
caption3
\n
foo\n
",
"print": "{|\n|+style=\"color: red;\"|caption2\n|+style=\"color: red;\"|caption3\n|-\n|foo\n|}"
},
{
"desc": "Table td-cell syntax variations",
"wikitext": "{|\n|foo bar foo|baz\n|foo bar foo||baz\n|style='color:red;'|baz\n|style='color:red;'||baz\n|}",
"html": "
",
"print": "{|\n!a {{1x|b!!c}}\n|}"
},
{
"desc": "Accept \"!!\" in table headings after newline",
"wikitext": "{|\n!a\nb!!c\n|}",
"html": "
\n
\n
a\n
b!!c\n
\n
",
- "render": "
\n
\n
a\n
b!!c\n
\n
",
+ "render": "
\n
\n
a\n
b!!c\n
\n
",
"print": "{|\n!a\nb!!c\n|}"
},
{
"desc": "Accept \"!!\" in table data of mixed wikitext / html syntax",
"wikitext": "{|\n!a\n
b!!c
\n|}",
"html": "
\n
\n
a\n
b!!c
\n
",
- "render": "
\n
\n
a\n
b!!c
\n
",
+ "render": "
\n
\n
a\n
b!!c
\n
",
"print": "{|\n!a\n<tr><td>b!!c</td></tr>\n|}"
},
{
"desc": "Accept empty attributes in td/th cells (td/th cells starting with leading ||)",
"wikitext": "{|\n!|h1\n||a\n|}",
"html": "
\n
\n
h1\n
\n
a\n
",
- "render": "
\n
\n
h1\n
\n
a\n
",
+ "render": "
\n
\n
h1\n
\n
a\n
",
"print": "{|\n!|h1\n||a\n|}"
},
{
"desc": "Accept \"| !\" at start of line in tables (ignore !-attribute)",
"wikitext": "{|\n|-\n|!style=\"color:red\"|bar\n|}",
"html": "
\n\n
\n
bar\n
",
- "render": "
\n
\n
bar\n
",
+ "render": "
\n
\n
bar\n
",
"print": "{|\n|-\n|!style=\"color:red\"|bar\n|}"
},
{
"desc": "Allow +/- in 2nd and later cells in a row, in 1st cell when td-attrs are present, or in 1st cell when there is a space between \"|\" and +/- ",
"wikitext": "{|\n|-\n|style='color:red;'|+1\n|style='color:blue;'|-1\n|-\n|1||2||3\n|1||+2||-3\n|-\n| +1\n| -1\n|}",
"html": "
",
"print": "{|\n||[ftp://|x||]\" onmouseover=\"alert(document.cookie)\">test"
},
{
"desc": "Element attributes with double ! should not be broken up by
",
"wikitext": "{|\n!hi
ha
ho\n|}",
"html": "
\n
\n
hi
ha
ho\n
",
- "render": "
\n
\n
hi
ha
ho\n
",
+ "render": "
\n
\n
hi
ha
ho\n
",
"print": "{|\n!hi <divclass=\"!!\">ha</div> ho\n|}"
},
{
"desc": "! and || in element attributes should not be parsed as
/
",
"wikitext": "{|\n|
hi
\n|}",
"html": "
\n
\n
hi
\n
",
- "render": "
\n
\n
hi
\n
",
+ "render": "
\n
\n
hi
\n
",
"print": "{|\n|<divstyle=\"color: red !important;\"data-contrived=\"put this here ||\">hi</div>\n|}"
},
{
"desc": "! and || in td attributes should not be parsed as
/
",
"wikitext": "{|\n|style=\"color: red !important;\" data-contrived=\"put this here ||\"|foo\n|}",
"html": "
\n
\n
style=\"color: red !important;\" data-contrived=\"put this here
\n
foo\n
",
- "render": "
\n
\n
style=\"color: red !important;\" data-contrived=\"put this here
\n
foo\n
",
+ "render": "
\n
\n
style=\"color: red !important;\" data-contrived=\"put this here
\n
foo\n
",
"print": "{|\n|style=\"color: red !important;\" data-contrived=\"put this here ||\"|foo\n|}"
},
{
@@ -13891,14 +13891,14 @@
"desc": "1. Template-generated table cell attributes and cell content",
"wikitext": "{|\n|{{table_attribs}}\n| {{table_attribs}}\n|| {{table_attribs_5}}\n| {{table_attribs}}\n|align=center {{table_attribs}}\n| align=center {{table_attribs}}\n|}",
"html": "
",
"print": "{{{!}}class=\"wikitable\"\n!header\n!second header\n{{!}}-style=\"color:red;\"\n{{!}}data{{!}}{{!}}style=\"color:red;\"{{!}}second data\n{{!}}}"
},
{
"desc": "Build table with pipe as data",
"wikitext": "{| class=\"wikitable\"\n!header\n!second header\n|- style=\"color:red;\"\n|data|| style=\"color:red;\" |second data\n|-\n| style=\"color:red;\" |data with | || style=\"color:red;\" | second data with |\n|-\n||data with | |||second data with |\n|}",
"html": "
\n
\n
header\n
\n
second header\n
\n
\n
data
\n
second data\n
\n
\n
data with |
\n
second data with |\n
\n
\n
data with |
\n
second data with |\n
",
- "render": "
\n
\n
header\n
\n
second header\n
\n
data
\n
second data\n
\n
data with |
\n
second data with |\n
\n
data with |
\n
second data with |\n
",
+ "render": "
\n
\n
header\n
\n
second header\n
\n
data
\n
second data\n
\n
data with |
\n
second data with |\n
\n
data with |
\n
second data with |\n
",
"print": "{|class=\"wikitable\"\n!header\n!second header\n|-style=\"color:red;\"\n|data||style=\"color:red;\"|second data\n|-\n|style=\"color:red;\"|data with | ||style=\"color:red;\"| second data with |\n|-\n||data with | |||second data with |\n|}"
},
{
"desc": "Build table with wikilink",
"wikitext": "{| class=\"wikitable\"\n!header||second header\n|- style=\"color:red;\"\n|data [[Main Page|linktext]]||second data [[Main Page|linktext]]\n|-\n|data||second data [[Main Page|link|text with pipe]]\n|}",
"html": "