Skip to content

Option to disable implicit HTML changes #2428

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?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    good-first-issueTasks that are fairly easy to pick up

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions