PackageTrack
Sign in Get early access

xemlock/htmlpurifier-html5

HTML5 support for HTML Purifier

v0.1.12 3.3M downloads/mo #2576 most downloaded on Packagist xemlock/htmlpurifier-html5

What this package is like to depend on

Last release 6 months ago

09 Feb 2026

Ships unpredictably

gaps range from 1 weeks to 6.5 years

Most releases are documented

notes for 9 of 13 stable releases

Nothing withdrawn

no release was ever pulled

10 years old

13 releases · first in 2017

1 release in the last 12 months

see the full history below

Release timeline

13 releases · Feb 2017 to Feb 2026
2018 2019 2020 2021 2022 2023 2024 2025 2026
Release Pre-release

Releases

latest 13
  1. v0.1.12 09 Feb 2026

    Nothing published for this version

  2. v0.1.11 07 Aug 2019
    Release notes

    Notable changes since last release:

    • Implemented spec compliant <address>, <header>, <footer> (#39)
    • Implemented spec compliant <form> and <blockquote> (#46)
    • Added spec compliant datetime attribute to <time>, <ins>, <del> (#35)
    • Defined <article>, <aside>, <nav>, <section> as Sectioning content
    • Defined <hgroup> as Heading content
    • Empty <figure>s are no longer removed
    • Made allowfullscreen attribute of <iframe> guarded by %HTML.IframeAllowFullscreen setting (#38)
    • Dropped obsolete elements: <basefont>, <center>, <dir>, <font>, <menu>, <strike>
    • Dropped obsolete <iframe> attributes: scrolling, frameborder, longdesc, marginheight, marginwidth

    Changes to internal APIs:

    • Removed deprecated class HTMLPurifier_AttrDef_Regexp
    • Removed deprecated class HTMLPurifier_AttrTransform_Progress
    • Removed deprecated HTMLPurifier_ChildDef_ classes: Details, Figure, Media, Picture
    • Removed helper class HTMLPurifier_ChildDef_HTML5
    • Removed deprecated method HTMLPurifier_HTML5Definition::setup()
    Open source →
  3. v0.1.10 26 Apr 2019
    Release notes

    This is a fix release for a bug introduced in v0.1.9 which removed <a> from inline elements (#31).

    Open source →
  4. v0.1.9 15 Apr 2019
    Release notes

    DO NOT INSTALL THIS RELEASE!!! It contains a bug in <a> element definition, preventing it from being treated as an inline element. Use v0.1.10 instead.


    Notable changes since last release:

    • HTML5 doctype and modularization
    • Added <bdi> and <dialog>
    • Added datetime attribute to <del> and <ins>
    • Added async and charset attributes to <script> (issue #26)
    • Added auto value to dir global attribute
    • Added validation for rel attribute of <a> element

    The following classes were marked as deprecated:

    • HTMLPurifier_AttrDef_Regexp as unused
    • HTMLPurifier_AttrTransform_Progress, use HTMLPurifier_AttrTransform_HTML5_Progress instead
    • HTMLPurifier_ChildDef_Details, use HTMLPurifier_ChildDef_HTML5_Details instead
    • HTMLPurifier_ChildDef_Figure, use HTMLPurifier_ChildDef_HTML5_Figure instead
    • HTMLPurifier_ChildDef_Media, use HTMLPurifier_ChildDef_HTML5_Media instead
    • HTMLPurifier_ChildDef_Picture, use HTMLPurifier_ChildDef_HTML5_Picture instead
    • HTMLPurifier_ChildDef_Progress, use HTMLPurifier_ChildDef_HTML5_Progress instead
    Open source →
  5. v0.1.8 14 Aug 2018
    Release notes

    Notable changes since last release:

    • Add <progress> element
    • Add <ruby> element
    Open source →
  6. v0.1.7 07 Jun 2018
    Release notes

    Notable changes since last release:

    • Fix content model definition of <figure> and <details> elements
    • Fix content category of <audio>, <video> and <picture> elements (#17)
    • Make HTML5Config::inherit() return an instance of HTML5Config (#16)
    Open source →
  7. v0.1.6 04 Mar 2018
    Release notes

    Changes since last release:

    • Add sizes attribute to img element
    • Prevent removal of HTML5 definitions when setting HTML.* keys
    Open source →
  8. v0.1.5 12 Feb 2018
    Release notes

    Changes since last release:

    • Add support for details, picture, and track elements
    • Add support for HTML5 attributes to a element
    • Allow flow content inside a element
    • Fix content sanitization in audio and video elements
    • Fix definition of source element
    Open source →
  9. v0.1.4 08 Feb 2018
    Release notes

    Changes since last release:

    • Update readme
    • Make HTML5Config::create() default arguments the same as Config::create()

    Important: previous releases allowed HTMLPurifier_HTML5Config::create() to be called without any arguments. In this release the first argument is required, just as it is in HTMLPurifier_Config::create(). If it's not provided a warning will be issued, but apart from that the library will work as before.

    Open source →
  10. v0.1.3 06 Feb 2018
    Release notes

    Changes since last release:

    • Don't auto-finalize config upon creation
    Open source →
  11. v0.1.2 14 Aug 2017

    Nothing published for this version

  12. v0.1.1 07 May 2017

    Nothing published for this version

  13. v0.1.0 18 Feb 2017

    Nothing published for this version

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive