Skip to content

Option to disable implicit HTML changes #2428

@nico2che

Description

@nico2che

hello, thank you for your work!

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions