Releases: remarkjs/remark-html
Releases · remarkjs/remark-html
16.0.1
16.0.0
Change
- c726e74 Change to require Node.js 16
migrate: update too - 80482a5 Change to use
exports
migrate: don’t use private APIs - 1946cf3 Update
@types/mdast
, utilities, etc
migrate: update too
hast-util-sanitize@5
: everything’s safe, GH is safe, but make sure to check if you’re super worried
hast-util-to-html@9
:options.entities
->options.characterReferences
mdast-util-to-hast@13
: handlers are different, if you pass those, see the changelog
Full Changelog: 15.0.2...16.0.0
15.0.2
15.0.1
15.0.0
- 995b427 Change footnotes to match how GitHub renders them
- remove
remark-footnotes
if you were using that, and instead useremark-gfm
- more options available if you switch to
remark-rehype
instead of this pluginremark-html
- remove
Full Changelog: 14.0.1...15.0.0
14.0.1
-
b75c9dd Security: Fix to sanitize by default
The docs have always saidremark-html
is safe by default. It wasn’t and this patches that.If you do want to be unsafe, use
remark-html
withsanitize: false
:- .use(remarkHtml) + .use(remarkHtml, {sanitize: false})
Full Changelog: 14.0.0...14.0.1
13.0.2
-
b0b1ba5 Fix to sanitize by default
The docs have always saidremark-html
is safe by default. It wasn’t and this patches that.If you do want to be unsafe, use
remark-html
withsanitize: false
:- .use(remarkHtml) + .use(remarkHtml, {sanitize: false})
Full Changelog: 13.0.1...13.0.2