Skip to content

Releases: remarkjs/remark-html

16.0.1

24 Sep 18:33
b63ddf4
Compare
Choose a tag to compare
  • e507e9d Fix to add misclassified dependency

Full Changelog: 16.0.0...16.0.1

16.0.0

24 Sep 10:11
bafd914
Compare
Choose a tag to compare

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

07 Feb 19:00
d384525
Compare
Choose a tag to compare

Fix

  • e24b8bd Fix types for TS 4.9, regenerate them

Full Changelog: 15.0.1...15.0.2

15.0.1

29 Nov 18:17
6ffd002
Compare
Choose a tag to compare

Full Changelog: 15.0.0...15.0.1

15.0.0

03 Oct 19:16
7892036
Compare
Choose a tag to compare
  • 995b427 Change footnotes to match how GitHub renders them
    • remove remark-footnotes if you were using that, and instead use remark-gfm
    • more options available if you switch to remark-rehype instead of this plugin remark-html

Full Changelog: 14.0.1...15.0.0

14.0.1

07 Sep 14:23
ac80e5f
Compare
Choose a tag to compare
  • b75c9dd Security: Fix to sanitize by default
    The docs have always said remark-html is safe by default. It wasn’t and this patches that.

    If you do want to be unsafe, use remark-html with sanitize: false:

    -  .use(remarkHtml)
    +  .use(remarkHtml, {sanitize: false})

Full Changelog: 14.0.0...14.0.1

13.0.2

07 Sep 14:26
2133d20
Compare
Choose a tag to compare
  • b0b1ba5 Fix to sanitize by default
    The docs have always said remark-html is safe by default. It wasn’t and this patches that.

    If you do want to be unsafe, use remark-html with sanitize: false:

    -  .use(remarkHtml)
    +  .use(remarkHtml, {sanitize: false})

Full Changelog: 13.0.1...13.0.2

14.0.0

05 Aug 18:48
3507d99
Compare
Choose a tag to compare

13.0.1

03 Oct 10:46
c0b2f69
Compare
Choose a tag to compare
  • 7a8cb0e Update mdast-util-to-hast

13.0.0

03 Oct 09:14
bdeeee5
Compare
Choose a tag to compare
  • 0b1cd0a Change to comply to CommonMark
    (breaking, potentially, if you have duplicate definitions)