I have a HTML doc with nested tables and a floating TD tag.
Tagsoup corrects this by choosing to close the previous table and continue.
An alternate correction is to start a new TR, which most browsers seem to render.
Is there a way to configure Tagsoup to the latter behavior?
<!-- Input HTML -->
<html>
<table border="1">
<tr><td>Outer table 1</td></tr>
<tr>
<td>
<table border="1">
<tr>
<td>
Inner table 2
</td>
</tr>
<td> <!-- Problem right here with floating TD tag -->
Third row?
</td>
</table>
</td>
</table>
</html>
<-- Tagsoup output: -->
<html>
<body><table border="1">
<tr><td>Outer table 1</td></tr>
<tr>
<td>
<table border="1">
<tr>
<td>
Inner table 2
</td>
</tr>
</table></td><td> <!-- Problem right here with floating TD tag -->
Third row?
</td>
</tr></table>
</body></html>
Illustrated:
http://jsfiddle.net/hPXL8/