plugin to sanitize HTML
hast-util-sanitie
, unified
, etc
migrate: update too
there are some small changes to the defaults, which match how GH cleans,
see this commit for details
exports
migrate: don’t use private APIsFull Changelog: https://github.com/rehypejs/rehype-sanitize/compare/5.0.1...6.0.0
Full Changelog: https://github.com/rehypejs/rehype-sanitize/compare/5.0.0...5.0.1
Change:
// From CommonJS
var rehypeSanitize = require('rehype-sanitize')
// To ESM
import rehypeSanitize from 'rehype-sanitize'
hast-util-sanitize
(see [email protected]
)Contribute
section to readme.md
rehypejs
readme.md