npm / turndown
turndown
What changed in turndown 7, from its official release notes, upgrade guides and advisories. Sources checked 2026-10-17.
1 breaking1 security1 behavior and defaults1 fixes and other
See which of these apply to your code, ranked, in your agent:
npx @unstale/cli initturndown 74 changes
Breaking changes 1
Linebreaks within PRE elements are normalized during conversion.
Security 1
Inline link and image attributes are escaped correctly.
Behavior and default changes 1
Replaces regexp-based trimming behavior in Turndown.
Fixes and other changes 1
Link destinations containing spaces are escaped correctly.