sanitize-html
Advanced tools
Changelog
2.3.2 (2021-01-26):
yarn add
syntax. Thanks to Tagir Khadshiev for the contribution.Changelog
2.3.0 (2020-12-16):
htmlparser2
to new major version ^6.0.0
. Thanks to Bogdan Chadkin for the contribution.Changelog
2.2.0 (2020-12-02):
tel
to the default allowedSchemes
. Thanks to Arne Herbots for this contribution.Changelog
2.1.2 (2020-11-04):
Changelog
2.1.1 (2020-10-21):
allowedClasses
with an '*'
wildcard selector. Thanks to Clemens Damke for this contribution.Changelog
2.1.0 (2020-10-07):
sup
added to the default allowed tags list. Thanks to Julian Lam for the contribution.allowedTags
README documentation. Thanks to Marco Arduini for the contribution.Changelog
2.0.0 (2020-09-23):
nestingLimit
option added.is-plain-object
package with named export. Thanks to Bogdan Chadkin for the contribution.postcss
package and drop Node 11 and Node 13 support (enforced by postcss).allowedTags
array was updated significantly. This mostly added HTML tags to be more comprehensive by default. You should review your projects and consider the allowedTags
defaults if you are not already overriding them.