Skip to content

v1.1.0

Compare
Choose a tag to compare
@neuracr neuracr released this 07 Feb 13:52
· 2 commits to main since this release

1.1.0 - 2025-02-06

Added

  • Implement setElementAttribute and document it
  • Add a .withOpenShadow CssSanitizerBuilder option
  • Add "controlslist" to the list of globally permitted attributes
  • Add a CHANGELOG.md that follows https://common-changelog.org/

Changed

  • Downgrade the global attribute contracts for "cite" and "poster" attributes in the sanitizer
  • Extend allowDataAttributes from the HtmlSanitizerBuilder to allow any data-* attributes

https://www.npmjs.com/package/safevalues/v/1.1.0