Closed vincentcox closed 3 years ago
Hello @vincentcox, actually the wildcard attributes is a convenient shortcut to allow attributes on all allowed elements. In this case "id", "class" and "name" are only allowed for the following declared elements, and not "div". See http://htmlpurifier.org/live/configdoc/plain.html#HTML.Allowed for the library docs reference that this bundle is wiring.
In the meanwhile I'm closing here, don't hesitate to reopen if this does not work as intended. Thanks!
In one of the example this is mentioned to whitelist tags:
Does
*[id|class|name],
implies that all elements that contains id,class,name are allowed? For example a div element (which is not in the list), but with a id attribute is allowed?