Closed mathsgod closed 1 year ago
When purifier a div tag inside a tag, output is not my expected. HTML5 show be allow tag to be wrapped around a element. Source: <a href="www.example.com"> <div> this is a link </div> </a> Output: <a href="www.example.com"> </a><div><a href="www.example.com"> this is a link </a></div><a href="www.example.com"> </a> Preview
Source:
<a href="www.example.com"> <div> this is a link </div> </a>
Output:
<a href="www.example.com"> </a><div><a href="www.example.com"> this is a link </a></div><a href="www.example.com"> </a>
Preview
This package doesn't support HTML5. You'll need to use xemlock/htmlpurifier-html5
Thanks.
When purifier a div tag inside a tag, output is not my expected. HTML5 show be allow tag to be wrapped around a element.
Source:
Output:
Preview
This package doesn't support HTML5. You'll need to use xemlock/htmlpurifier-html5
Thanks.