DOMPurify 2.0.0
Note: This release makes sure that, by default only string objects are returned (if not specified otherwise). This change relates to a surprising behavior in Chrome 77 - having to do with Trusted Types.
- Changed the default behavior for Trusted Types (See #361)
- Added a new config flag to manually enable Trusted Types support
- Added support for more attributes
- Fixed a minor CSP warning