Files
CRM/customerportal/include/htmlpurify/tests/HTMLPurifier/HTMLT/allowed-remove.htmlt
BACHIR SOULDI 2794e62571 first commit
2025-09-28 08:49:37 +01:00

9 lines
222 B
Plaintext

--INI--
HTML.AllowedElements = b,i,p,a
HTML.AllowedAttributes = a.href,*.id
--HTML--
<span>Not allowed</span><a class="mef" id="foobar">Remove id too!</a>
--EXPECT--
Not allowed<a>Remove id too!</a>
--# vim: et sw=4 sts=4