Closed huu4ontocord closed 1 year ago
Apparantly, resiliparse does not like the "polygon" tag
Adding this will make the code not crash:
html_byte = html_byte.replace(b"<polygon", b"<div").replace(b"<POLYGON", b"<DIV")
I wonder if all svg causes it to crash?
Probably a Lexbor crash (@lexborisov). I will investigate this later.
@phoerious @ontocord
I found a logic error in my code. I'm testing the corrected code, I'll commit it tomorrow.
Thanks for the report!
Thanks. I will test it and bundle a new Resiliparse release tomorrow.
I can confirm that the Lexbor patch fixes this issue.
New release should be up once the CI is done: https://github.com/chatnoir-eu/chatnoir-resiliparse/actions/runs/3368250339
Trying this piece of html... Is there something I can do to upgrade the underlying parser? I recall reading this...