typo3/html-sanitizer
Standards-based HTML sanitizer for PHP with safe, configurable cleaning of untrusted markup. Remove dangerous tags/attributes, normalize output, and allow whitelisting policies for links, images, and formatting—ideal for user content, CMS, and APIs.
Full Changelog: https://github.com/TYPO3/html-sanitizer/compare/v2.1.4...v2.2.0
Full Changelog: https://github.com/TYPO3/html-sanitizer/compare/v2.1.3...v2.1.4
Full Changelog: https://github.com/TYPO3/html-sanitizer/compare/v1.5.2...v1.5.3
Full Changelog: https://github.com/TYPO3/html-sanitizer/compare/v1.5.1...v1.5.2
Full Changelog: https://github.com/TYPO3/html-sanitizer/compare/v2.1.2...v2.1.3
Full Changelog: https://github.com/TYPO3/html-sanitizer/compare/v2.1.1...v2.1.2
Full Changelog: https://github.com/TYPO3/html-sanitizer/compare/v1.5.0...v1.5.1
Full Changelog: https://github.com/TYPO3/html-sanitizer/compare/v2.1.0...v1.5.0
Full Changelog: https://github.com/TYPO3/html-sanitizer/compare/v2.1.0...v2.1.1
Behavior\EmptyAttrValue by @ohader in https://github.com/TYPO3/html-sanitizer/pull/88$node to $domNode by @ohader in https://github.com/TYPO3/html-sanitizer/pull/90\TYPO3\HtmlSanitizer\Sanitizer by @ohader in https://github.com/TYPO3/html-sanitizer/pull/97Full Changelog: https://github.com/TYPO3/html-sanitizer/compare/v2.0.16...v2.1.0
Full Changelog: https://github.com/TYPO3/html-sanitizer/compare/v2.0.15...v2.0.16
Full Changelog: https://github.com/TYPO3/html-sanitizer/compare/v1.0.6...v1.0.7
img attr. fetchPriority by @xerc in https://github.com/TYPO3/html-sanitizer/pull/81track attr. srclang by @xerc in https://github.com/TYPO3/html-sanitizer/pull/80Full Changelog: https://github.com/TYPO3/html-sanitizer/compare/v2.0.14...v2.0.15
[TASK] Run tests with PHP 8.1 by @lolli42 in https://github.com/TYPO3/html-sanitizer/pull/67[TASK] Let test suite fail with E_ALL by @lolli42 in https://github.com/TYPO3/html-sanitizer/pull/68[TASK] Ensure error_reporting uses E_ALL by @ohader in https://github.com/TYPO3/html-sanitizer/pull/72[BUGFIX] Purge node only having empty text nodes by @ohader in https://github.com/TYPO3/html-sanitizer/pull/73[TASK] Allow installation of any PSR-Log version. by @Crell in https://github.com/TYPO3/html-sanitizer/pull/78Full Changelog: https://github.com/TYPO3/html-sanitizer/compare/v2.0.13...v2.0.14
836ee82 [!!!][TASK] Change attr value verification to take first match → see PR #66
db5844b [TASK] Allow deprecated center and strike tag
2d6f518 [TASK] Allow more URI schemes for href attribute
8d8097f [TASK] Add immutable behavior to Behavior\Attr
d8bcac6 [FEATURE] Allow data URI for media types
2828be4 [TASK] Introduce UriAttrValueBuilder
b0322ad [TASK] Allow ol and li attributes
7a74225 [TASK] Allow RFC 2392 compliant URI schemes
b205c1e [TASK] Add Behavior\Attr tests
[TASK] Adjust PHPDoc comments & code clean-up[TASK] Adjust internal variable names[TASK] Allow font tag (deprecated)[TASK] Adjust PHPDoc comments & code clean-up[TASK] Adjust internal variable names[TASK] Allow font tag (deprecated)[TASK] Adjust README.md[TASK] Extend README.md[TASK] Allow using microdata meta data[TASK] Extend image tag attributes[TASK] Adjust README.md[TASK] Extend README.md[TASK] Allow using microdata meta data[TASK] Extend image tag attributes[TASK] Replace overlint with native linting[TASK] Replace overlint with native linting[BUGFIX] Remove PHP 7 slip-thru[TASK] Allow figure tag and necessary attributes in source tag[FEATURE] Forward sanitization initiator to logging[BUGFIX] Add missing <table> related attributes[TASK] Add test cases for media related tags/attrs[TASK] Add img.loading attribute[TASK] Allow figure tag and necessary attributes in source tag[FEATURE] Forward sanitization initiator to logging[TASK] Separate <table> declarations in own method[TASK] Streamline media tag declarations[BUGFIX] Add missing <table> related attributes[TASK] Add support for tel: in link href attribute[TASK] Add support for tel: in link href attribute[BUGFIX] Extend A element with legacy attributes[TASK] Remove superfluous a.media attribute[BUGFIX] Extend A element with legacy attributes[BUGFIX] Drop using preg_last_error_msg[BUGFIX] Traverse child nodes in reverse order to allow modificationsHow can I help you explore Laravel packages today?