npm / turndown
turndown
What changed in turndown 7, from its official release notes, upgrade guides and advisories. Sources checked 2026-11-30.
1 breaking1 security1 performance1 behavior and defaults2 fixes and other
See which of these apply to your code, ranked, in your agent:
npx @unstale/cli initturndown 76 changes
Breaking changes 1
Linebreaks within PRE elements are normalized during conversion.
Security 1
Inline link and image attributes are escaped correctly.
Performance 1
Output concatenation performance was improved.
Behavior and default changes 1
Replaces regexp-based trimming behavior in Turndown.
Fixes and other changes 2
The built output remains ES5-compatible in join().
Link destinations containing spaces are escaped correctly.