npm / hast-util-to-html
hast-util-to-html
What changed in hast-util-to-html 9, from its official release notes, upgrade guides and advisories. Sources checked 2026-11-30.
4 breaking3 fixes and other
See which of these apply to your code, ranked, in your agent:
npx @unstale/cli inithast-util-to-html 97 changes
Breaking changes 4
Use
characterReferencesin place ofoptions.entities.The
entitiesoption was removed; usecharacterReferencesinstead.The package now uses exports; consumers should not use private APIs.
Node.js 16 is now required to use the package.
Fixes and other changes 3
Text is no longer encoded in more raw text elements.
Fixes HTML handling in SVG for desc, foreignObject, and title.
Fixes omission of the p closing tag in custom elements.