5
Vote

tables parse incorrectly if OptionFixNestedTags is set true

description

Sample Input:
 
<table> <tr> <td>Test1</td> <td>Test2</td> </tr> </table>  
When parsing with OptionFixNestedTags == false, the sample input parses as expected.
When parsing with OptionFixNestedTags == true, the sample input parses as follows:
 
<table> <tr> <td>Test1 <td>Test2   </td></td></tr></table>  
The behavior of the parser when OptionFixNestedTags == true is incorrect for valid HTML tags that have resetters.
 
This seems related to http://htmlagilitypack.codeplex.com/workitem/29218

comments

emn13 wrote Feb 29, 2012 at 6:31 AM

Have you tried using the patch attached to http://htmlagilitypack.codeplex.com/workitem/29218 ?

DarthObiwan wrote Jun 5, 2012 at 10:47 PM

This will be fixed in an svn update soon and the next release