You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 23, 2025. It is now read-only.
If I understood the module HTML::Scrubber correctly, tags are either allowed or not allowed. This is unlike attributes where a callback may decide whether an attribute is dropped or modified.
In a webapp, that I'm working on, there is a hand rolled sanitizer which can drop a complete tag based on the existence or value of attributes. It would be nice to have such functionality in HTML::Scrubber too. This would allow me to eliminate the hand rolled sanitizer.
If I understood the module HTML::Scrubber correctly, tags are either allowed or not allowed. This is unlike attributes where a callback may decide whether an attribute is dropped or modified.
In a webapp, that I'm working on, there is a hand rolled sanitizer which can drop a complete tag based on the existence or value of attributes. It would be nice to have such functionality in HTML::Scrubber too. This would allow me to eliminate the hand rolled sanitizer.
This is a bit related to #22.