Closed Yash-Singh1 closed 4 months ago
This is easily out of project's goal/scope ... the moment I sanitize the entire Internet is the moment this project makes no sense anymore and no performance will ever exist neither ... you have playwright or any other crawler to sanitize via real browsers the Web and I don't think this should ever affect LinkeDOM logic.
First off, thanks for making this project! :)
I ran into this issue while migrating from
jsdom
over tolinkedom
.Repro:
This problem seems to be related to this website having meta and link tags before the
<html>
tag opens (removing them manually fixes the issue):I'm not sure if this is allowed per spec or not, but Chrome seems to handle the meta/link tags, so I think it makes sense to handle them in linkedom as well: