Re: Tidy bug
Ben McCann <[email protected]> Fri, 6 Nov 2009 13:35:24 -0800
| Newsgroups | gmane.comp.web.html-tidy.devel |
|---|---|
| Message-ID | <[email protected]> |
--===============7841594282777978135== Content-Type: multipart/alternative; boundary=000e0cd299e8248c4a0477ba9f48 --000e0cd299e8248c4a0477ba9f48 Content-Type: text/plain; charset=ISO-8859-1 Unfortunately the bug fix for the earlier issue hasn't totally solved my problem. Here's a new bug report I filed with jtidy<https://sourceforge.net/tracker/?func=detail&atid=113153&aid=2892958&group_id=13153>. Consider the page below. Tidy inserts a <table> tag when it reaches the unexpected <tr>. This causes it to discard the existing <table> and the resulting page has lost the id attribute. A better behavior would be to insert a new end tag instead of discarding the existing start tag. <html> <body> <tr></tr> <table id="companyAccountsTable"> <tbody><tr><td>jschmoe</td></tr></tbody> </table> </body> </html> Thanks, Ben On Tue, Oct 27, 2009 at 1:12 PM, Ben McCann <[email protected]> wrote: > Awesome. Thanks a million! > > > On Tue, Oct 27, 2009 at 12:32 PM, Klaus Johannes Rusch < > [email protected]> wrote: > >> Ben McCann wrote: >> >>> Thanks a lot for the patch Klaus. Is this something that we'd be able to >>> submit to CVS? >>> >> Done! Thanks for the gentle reminder, still struggling with build and cvs >> since upgrading to a new computer (why don't all the tweaks automatically >> find their way to the new machine!) >> >> -- >> Klaus Johannes Rusch >> >> [email protected] >> http://www.atmedia.net/KlausRusch/ >> >> > --000e0cd299e8248c4a0477ba9f48 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable <div>Unfortunately the bug fix for the earlier issue hasn't totally sol= ved my problem. =A0Here's a <a href=3D"https://sourceforge.net/tracker/= ?func=3Ddetail&atid=3D113153&aid=3D2892958&group_id=3D13153">ne= w bug report I filed with jtidy</a>. =A0Consider the page below. Tidy inser= ts a <table> tag when it reaches the=A0unexpected <tr>. This ca= uses it to discard the existing <table> and the=A0resulting page has = lost the id attribute. A better behavior would be to=A0insert a new end tag= instead of discarding the existing start tag.</div> <div><br></div><div><html></div><div><body></div><div><tr>= ;</tr></div><div><table id=3D"companyAccountsTable"><= /div><div><tbody><tr><td>jschmoe</td></tr><= ;/tbody></div> <div></table></div><div></body></div><div></html></div><d= iv><br></div><div>Thanks,</div><div>Ben</div><br><br><div class=3D"gmail_qu= ote">On Tue, Oct 27, 2009 at 1:12 PM, Ben McCann <span dir=3D"ltr"><<a h= ref=3D"mailto:[email protected]">[email protected]</a>></span> wrote:<br= > <blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p= x #ccc solid;padding-left:1ex;">Awesome. =A0Thanks a million!<div><div></di= v><div class=3D"h5"><br><br><div class=3D"gmail_quote">On Tue, Oct 27, 2009= at 12:32 PM, Klaus Johannes Rusch <span dir=3D"ltr"><<a href=3D"mailto:= [email protected]" target=3D"_blank">[email protected]</a>></s= pan> wrote:<br> <blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p= x #ccc solid;padding-left:1ex"><div>Ben McCann wrote:<br> <blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p= x #ccc solid;padding-left:1ex"> Thanks a lot for the patch Klaus. =A0Is this something that we'd be abl= e to submit to CVS?<br> </blockquote></div> Done! =A0Thanks for the gentle reminder, still struggling with build and cv= s since upgrading to a new computer (why don't all the tweaks automatic= ally find their way to the new machine!)<br> <br> -- <br><font color=3D"#888888"> Klaus Johannes Rusch</font><div><div></div><div><br> <a href=3D"mailto:[email protected]" target=3D"_blank">KlausRusch@atme= dia.net</a><br> <a href=3D"http://www.atmedia.net/KlausRusch/" target=3D"_blank">http://www= .atmedia.net/KlausRusch/</a><br> <br> </div></div></blockquote></div><br> </div></div></blockquote></div><br> --000e0cd299e8248c4a0477ba9f48-- --===============7841594282777978135== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july --===============7841594282777978135== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Tidy-develop mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/tidy-develop --===============7841594282777978135==--