removeAttributes(_:_:)

Remove a list of allowed attributes from a tag. (If an attribute is not allowed on an element, it will be removed.)

Whitelist.swift:286
@discardableResult func removeAttributes(_ tag: String, _ keys: String...) throws -> Whitelist

E.g.: removeAttributes("a", "href", "class") disallows href and class attributes on a tags.

To make an attribute invalid for all tags, use the pseudo tag :all, e.g. removeAttributes(":all", "class").

<param>
<param>
<return>