Blame view

vendor/ezyang/htmlpurifier/tests/HTMLPurifier/HTMLT/allowed-remove.htmlt 222 Bytes
abf1649b   andryeyev   Чистая установка ...
1
2
3
4
5
6
7
8
  --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