unstale

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 init

@unstale/cli on npm

turndown 76 changes

Breaking changes 1

  • Linebreaks within PRE elements are normalized during conversion.

    7.2.3release notes

Security 1

  • Inline link and image attributes are escaped correctly.

    7.2.3release notes

Performance 1

Behavior and default changes 1

  • Replaces regexp-based trimming behavior in Turndown.

    7.2.2release notes

Fixes and other changes 2

  • The built output remains ES5-compatible in join().

    7.2.5release notes

  • Link destinations containing spaces are escaped correctly.

    7.2.3release notes