DOMPurify 3.3.0 is out. You can now configure which tags can have which attributes much more easily.

https://github.com/cure53/DOMPurify/releases/tag/3.3.0

Thanks again to everyone who contributed to and supported the project. ❤️

Release DOMPurify 3.3.0 · cure53/DOMPurify

Added the SVG mask-type attribute to default allow-list, thanks @prasadrajandran Added support for ADD_ATTR and ADD_TAGS to accept functions, thanks @nelstrom Fixed an issue with the slot element b...

GitHub