htmlpurifier-html5
htmlpurifier-html5 copied to clipboard
HTML5 support for HTMLPurifier
Currently the set of allowed `` types doesn't include HTML5 values. Also, it would be useful to be able to narrow the set of allowed input types (as requested in...
This copies `CommonAttributes` [changes](https://github.com/ezyang/htmlpurifier/pull/336) in `v4.15.0` from upstream, otherwise `contenteditable="false"` is not considered valid on HTML5 doc types. It also bumps the requirements to match ezyang/htmlpurifier in v4.15.0
Bumps [actions/checkout](https://github.com/actions/checkout) from 3 to 4. Release notes Sourced from actions/checkout's releases. v4.0.0 What's Changed Update default runtime to node20 by @takost in actions/checkout#1436 Support fetching without the --progress option...
Setting HTML.XHTML to true doesn't affect tags, however, it is written in documentation that > [...] in HTML5 it's used for enabling support for namespaced attributes and XML self-closing tags....
The comment regex in https://github.com/xemlock/htmlpurifier-html5/blob/master/library/HTMLPurifier/Lexer/HTML5.php#L57 can cause catastrophic back tracking. The result is `preg_replace_callback` returns `null` Workaround is to increase `pcre.backtrack_limit`. However, I think it would be better if the...
PHP 8.4
Hi, Just wondering if there's anything interesting coming in PHP 8.4 as far as this wonderful library is concerned? Cheers