Releases: xemlock/htmlpurifier-html5
Releases · xemlock/htmlpurifier-html5
v0.1.11
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()
v0.1.10
v0.1.9
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
andcharset
attributes to<script>
(issue #26) - Added
auto
value todir
global attribute - Added validation for
rel
attribute of<a>
element
The following classes were marked as deprecated:
HTMLPurifier_AttrDef_Regexp
as unusedHTMLPurifier_AttrTransform_Progress
, useHTMLPurifier_AttrTransform_HTML5_Progress
insteadHTMLPurifier_ChildDef_Details
, useHTMLPurifier_ChildDef_HTML5_Details
insteadHTMLPurifier_ChildDef_Figure
, useHTMLPurifier_ChildDef_HTML5_Figure
insteadHTMLPurifier_ChildDef_Media
, useHTMLPurifier_ChildDef_HTML5_Media
insteadHTMLPurifier_ChildDef_Picture
, useHTMLPurifier_ChildDef_HTML5_Picture
insteadHTMLPurifier_ChildDef_Progress
, useHTMLPurifier_ChildDef_HTML5_Progress
instead
v0.1.8
v0.1.7
v0.1.6
v0.1.5
v0.1.4
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.