Skip to content

DOMPurify 2.0.0

Compare
Choose a tag to compare
@cure53 cure53 released this 12 Sep 17:03
41766f5

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