You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I love this lib, especially because of the HTML parser's flexibility, as you said in the description: "forgiving HTML parser [..] which takes some shortcuts", It's really handy for parsing poorly formatted pages and, most importantly, for serializing them after making changes without altering the unchanged portions even if they contain invalid HTML
however in v12 you announce some "implicit open/close" which modify this behavior and makes the parser less tolerant and closer the HTML spec compliance
Is it possible to contribute by adding an option to undo these implicit changes, or that's not the direction you want to go in and I need to create a fork?
Activity
fb55 commentedon Jul 1, 2026
Makes sense as an option! PRs welcome