NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
Packagist · #162 most downloaded on Packagist
Standards compliant HTML filter written in PHP
Last release 22 days ago
15 Sep 2026
Ships fairly regularly
a new release about every 11 months
Some releases are documented
notes for 5 of 18 stable releases
Nothing withdrawn
no release was ever pulled
14 years old
18 releases · first in 2013
"Passing null to parameter" deprecation in Lexer.php when Core.NormalizeNewlines is false
One column per quarter.
Deprecated: preg_replace(): Passing null to parameter #3 ($subject) o…
Avoid a deprecated error when the attribute name is numeric and DirectLex is used
CSSTidy ImportantComments not handled properly
NEWS ( CHANGELOG and HISTORY ) HTMLPurifier |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
4.15.0, released 2022-09-18 ! PHP 8.1 and 8.2 support, esp. fixes for deprecation warnings. A joint effort by David Rans, Tim Düsterhus, Kieran and John Flatness. ! Allow contenteditable="false" (#336), contributed by Kieran.
4.14.0, released 2021-12-24 ! Add "background-size" support (#289), contributed by Václav Smítal ! Transform deprecated width attribute when tidying HTML, contributed by Kieran.
4.13.0, released 2020-06-28 ! Add %HTML.Forms directive, which lets you accept forms in user HTML without requiring full %HTML.Trusted. Note that forms can be (trivially) used to setup phishing; e.g., an attacker can use CSS absolute positioning to overlay a form on top of a login element, so please be sure to use this with care! Fixes #213. Thanks Mateusz Turcza for contributing this feature. ! tr@bgcolor attribute is now supported. Thanks Kieran Brahney for this enhancement.
4.12.0, released 2019-10-27 ! PHP 7.4 is supported, thank you Witold Wasiczko, Mateuz Turcza and Edi Modrić
4.11.0, released 2019-07-14
add semantic release ( #307 ) ( db31243 ), closes #322 #323 #326 #327 #328 #329 #330 #331 #332 #333 #337 #335 ezyang/htmlpurifier#334 #336 #338
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Your coding agent can read these notes before it upgrades. Set up the MCP server →