From: Marc G. <mgu...@ya...> - 2011-01-24 14:21:14
|
Hi, why should NekoHTML insert a table tag here? As far as I can see, Firefox doesn't insert one. Cheers, Marc. -- HtmlUnit support & consulting from the source Blog: http://mguillem.wordpress.com Le 24/01/2011 12:40, test test a écrit : > 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 <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 <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 |