!! result
<table>
<tr>
-<td>1</td>
-<td>2</td>
+<td>1
+</td>
+<td>2
+</td>
</tr>
<tr>
-<td>3</td>
-<td>4</td>
+<td>3
+</td>
+<td>4
+</td>
</tr>
</table>
</caption>
<thead>
<tr>
-<th>×</th>
-<th>1</th>
-<th>2</th>
-<th>3</th>
+<th>×
+</th>
+<th>1
+</th>
+<th>2
+</th>
+<th>3
+</th>
</tr></thead>
<tbody>
<tr>
-<th>1</th>
-<td>1</td>
-<td>2</td>
-<td>3</td>
+<th>1
+</th>
+<td>1
+</td>
+<td>2
+</td>
+<td>3
+</td>
</tr>
<tr>
-<th>2</th>
-<td>2</td>
-<td>4</td>
-<td>6</td>
+<th>2
+</th>
+<td>2
+</td>
+<td>4
+</td>
+<td>6
+</td>
</tr>
<tr>
-<th>3</th>
-<td>3</td>
-<td>6</td>
-<td>9</td>
+<th>3
+</th>
+<td>3
+</td>
+<td>6
+</td>
+<td>9
+</td>
</tr>
<tr>
-<th>4</th>
-<td>4</td>
-<td>8</td>
-<td>12</td>
+<th>4
+</th>
+<td>4
+</td>
+<td>8
+</td>
+<td>12
+</td>
</tr>
<tr>
-<th>5</th>
-<td>5</td>
-<td>10</td>
-<td>15</td>
+<th>5
+</th>
+<td>5
+</td>
+<td>10
+</td>
+<td>15
+</td>
</tr></tbody>
</table>
!! result
<table align="right" border="1">
<tr>
-<td>Cell 1, row 1</td>
-<td rowspan="2">Cell 2, row 1 (and 2)</td>
-<td>Cell 3, row 1</td>
+<td>Cell 1, row 1
+</td>
+<td rowspan="2">Cell 2, row 1 (and 2)
+</td>
+<td>Cell 3, row 1
+</td>
</tr>
<tr>
-<td>Cell 1, row 2</td>
-<td>Cell 3, row 2</td>
+<td>Cell 1, row 2
+</td>
+<td>Cell 3, row 2
+</td>
</tr>
</table>
!! result
<table border="1">
<tr>
-<td>α</td>
+<td>α
+</td>
<td>
<table bgcolor="#ABCDEF" border="2">
<tr>
-<td>nested</td>
+<td>nested
+</td>
</tr>
<tr>
-<td>table</td>
+<td>table
+</td>
</tr>
-</table></td>
-<td>the original table again</td>
+</table>
+</td>
+<td>the original table again
+</td>
</tr>
</table>
!! result
<table>
<tr>
-<td>broken</td>
+<td>broken
+</td>
</tr>
</table>
<caption><i>caption</i>
</caption>
<tr>
-<td>Cell</td>
+<td>Cell
+</td>
</tr>
</table>
!! result
<table>
<tr>
-<td><i>Cell</i></td>
+<td><i>Cell</i>
+</td>
</tr>
</table>
!! result
<table>
<tr>
-<th><i>Cell</i></th>
-<td>Value</td>
+<th><i>Cell</i>
+</th>
+<td>Value
+</td>
</tr>
</table>
!! result
<table>
<tr>
-<td>[<a rel="nofollow" class="external free" href="ftp://%7Cx">ftp://%7Cx</a></td>
-<td>]" onmouseover="alert(document.cookie)">test</td>
+<td>[<a rel="nofollow" class="external free" href="ftp://%7Cx">ftp://%7Cx</a>
+</td>
+<td>]" onmouseover="alert(document.cookie)">test
+</td>
</tr>
</table>
!! result
<dl><dd><table>
<tr>
-<td>1</td>
-<td>2</td>
+<td>1
+</td>
+<td>2
+</td>
</tr>
<tr>
-<td>3</td>
-<td>4</td>
+<td>3
+</td>
+<td>4
+</td>
</tr>
</table></dd></dl>
!! result
<table>
<tr>
-<td>[[{{{1}}}|{{{2}}}]]</td>
+<td>[[{{{1}}}|{{{2}}}]]
+</td>
</tr>
</table>
</p>
<table>
<tr>
-<td>1</td>
-<td>2</td>
+<td>1
+</td>
+<td>2
+</td>
</tr>
<tr>
-<td>3</td>
-<td>4</td>
+<td>3
+</td>
+<td>4
+</td>
</tr>
</table>
</p>
<table>
<tr>
-<td>1</td>
-<td>2</td>
+<td>1
+</td>
+<td>2
+</td>
</tr>
<tr>
-<td>3</td>
-<td>4</td>
+<td>3
+</td>
+<td>4
+</td>
</tr>
</table>
!! result
<table>
<tr>
-<th class="awesome">status</th>
+<th class="awesome">status
+</th>
</tr>
</table>
!! result
<table>
<tr>
-<th style="color:blue">status</th>
+<th style="color:blue">status
+</th>
</tr>
</table>
!! result
<table>
<tr>
-<th style="/* insecure input */">status</th>
+<th style="/* insecure input */">status
+</th>
</tr>
</table>
<h2><span class="editsection">[<a href="/index.php?title=Parser_test&action=edit&section=1" title="Edit section: a">edit</a>]</span> <span class="mw-headline" id="a">a</span></h2>
<table style="__TOC__">
<tr>
-<td>foo</td>
+<td>foo
+</td>
</tr>
</table>
!! result
<table>
<tr>
-<th>https://</th>
+<th>https://
+</th>
<th></th>
<th></th>
<th></th>
!! result
<table>
<tr>
-<th><a rel="nofollow" class="external free" href="irc://{{ftp://a">irc://{{ftp://a</a>" onmouseover="alert('hello world');"</th>
+<th><a rel="nofollow" class="external free" href="irc://{{ftp://a">irc://{{ftp://a</a>" onmouseover="alert('hello world');"
+</th>
<td></td>
</tr>
</table>
</p>
<table>
<tr>
-<td></u></td>
+<td></u>
+</td>
</tr>
</table>
</p>
<table>
<tr>
-<td>1</td>
-<td>2</td>
+<td>1
+</td>
+<td>2
+</td>
</tr>
<tr>
-<td>3</td>
-<td>4</td>
+<td>3
+</td>
+<td>4
+</td>
</tr></table>
<p>y
</p>