Option to disable implicit HTML changes
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 4.8k
- Forks
- 402
- Avg merge
- 1m
- Merged PRs (30d)
- 18
Description
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?
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the HTML parser's v12 implicit open/close behavior described in the issue, and review how parser options currently control related behavior. Done means an agreed option can restore the prior tolerant behavior without changing default parsing; the issue names no files or tests to run.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- web-dev
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Quiet
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100