xemlock / htmlpurifier-html5

HTML5 support for HTMLPurifier
https://packagist.org/packages/xemlock/htmlpurifier-html5
MIT License
101 stars 12 forks source link

<blockquote> and <form> must accept Sectioning content #44

Closed xemlock closed 5 years ago

xemlock commented 5 years ago

Current definitions of <blockquote> and <form>, inherited from HTMLPurifier, don't accept Sectioning content (introduced in 3b28dad):

https://github.com/ezyang/htmlpurifier/blob/b88fcd1/library/HTMLPurifier/HTMLModule/Text.php#L59

https://github.com/ezyang/htmlpurifier/blob/b88fcd1/library/HTMLPurifier/HTMLModule/Forms.php#L34