From: test t. <jl...@gm...> - 2011-01-24 11:41:00
|
Hi, When parsing html content using nekohtml parser, it does not balance table tag. For example the given html content as below: <div> > <td style="font-family:verdana, font-size:2"> > <div> > <a href="http://abc.com"> click here</a> > <table> <tr> <td> <img src ="http://abc.com/a.jpg"></td></tr></table> > </div> > </div> > I'm expecting the result should be like this. <div> > <table><tr> > <td style="font-family:verdana, font-size:2"> > <div> > <a href="http://abc.com"> click here</a> > <table> <tr> <td> <img src ="http://abc.com/a.jpg"></td></tr></table> > </div> > </tr> > </table> > </div> > I want table tag to be inserted properly, if table tag is not present but td tag presents. So guide me what are nekohtml parser settings i've to made to get the expected results Thanks in Advance Regards, Aswini |