Ability to purify entire HTML documents
Nobody has claimed this yet.
- Dominant language
- PHP
- Stars
- 3.4k
- Forks
- 361
- Avg merge
- 3d 41m
- Merged PRs (30d)
- 2
Description
Looks like setting false to this doesn't working properly, or this parameter description is wrong
I need to purify html page while leaving its structure - html title head - unaltered, but setting option to false removes this tags too, the only difference with true value is that page title added as plain text to output, but html head and body tags are removed
htmlpurifier v.4.4.0
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
No source file, test, or exact option name is identified in the issue. Start by reproducing the reported behavior with HTMLPurifier 4.4.0, then locate the option described as false and trace document handling for the html, head, and body elements. Done means preserving the document structure while retaining the expected sanitization behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php
- Domain
- security
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100