DOMPurify - a DOM-only, super-fast, uber-tolerant XSS sanitizer for HTML, MathML and SVG. DOMPurify works with a secure default, but offers a lot of configurability and hooks. Demo:
This PR adds the new attributes from the Popover API to the list of allowed HTML attributes. This includes:
popover
popovertarget
popovertargetaction
These attributes are used to identify popover elements and control their behaviour. I don't believe they can be used to trigger scripts in any way, but please let me know if I'm wrong.
Thanks!
Background & Context
This API is quite new, but support for it is already estimated at ~84% (caniuse).
Summary
This PR adds the new attributes from the Popover API to the list of allowed HTML attributes. This includes:
popover
popovertarget
popovertargetaction
These attributes are used to identify popover elements and control their behaviour. I don't believe they can be used to trigger scripts in any way, but please let me know if I'm wrong.
Thanks!
Background & Context
This API is quite new, but support for it is already estimated at ~84% (caniuse).