Closed pauloortins closed 8 months ago
Thank you for reporting.
The fix has been done and will be available the next time we deploy Html Agility Pack
Best Regards,
Jon
Hello @pauloortins ,
The v1.11.58 has been released.
The issue you reported should now be fixed.
Best Regards,
Jon
Thank you Jon!
On Mon, Jan 29, 2024 at 2:51 AM Jonathan Magnan @.***> wrote:
Hello @pauloortins https://github.com/pauloortins ,
The v1.11.58 has been released.
The issue you reported should now be fixed.
Best Regards,
Jon
— Reply to this email directly, view it on GitHub https://github.com/zzzprojects/html-agility-pack/issues/530#issuecomment-1914007007, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAIXWK6HG75NIQY5LFJ4MJ3YQ42FJAVCNFSM6AAAAABBOUWTY2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMJUGAYDOMBQG4 . You are receiving this because you were mentioned.Message ID: @.***>
-- Paulo Ortins - www.pauloortins.com Tel.: (71) 9354-4577
When we have a
tbody
tag inside a unclosedth
then the output is different from the way chrome renders it. While closes the entirethead
, HAP adds thetbody
tag inside theth
.HTML:
<table><thead><tr><th></th><th></th><th><tbody></table>
HAP Result:<table><thead><tr><th></th><th></th><th><tbody></tbody></th></tr></thead></table>
Chrome Result:<table><thead><tr><th></th><th></th><th></th></tr></thead><tbody></tbody></table>
This is the test I used: