# What changed in turndown

> 4 changes in turndown 7 from its official release notes, upgrade guides and advisories: 1 breaking, 1 security. Each one cited. Sources checked 2026-10-17. HTML: https://unstale.sh/npm/turndown/

To see which of these apply to a repository, run `npx @unstale/cli init` in it.

## turndown 7

### Breaking changes

- Linebreaks within PRE elements are normalized during conversion. (7.2.3) — [release notes](https://github.com/mixmark-io/turndown/releases/tag/v7.2.3)

### Security

- Inline link and image attributes are escaped correctly. (7.2.3) — [release notes](https://github.com/mixmark-io/turndown/releases/tag/v7.2.3)

### Behavior and default changes

- Replaces regexp-based trimming behavior in Turndown. (7.2.2) — [release notes](https://github.com/mixmark-io/turndown/releases/tag/v7.2.2)

### Fixes and other changes

- Link destinations containing spaces are escaped correctly. (7.2.3) — [release notes](https://github.com/mixmark-io/turndown/releases/tag/v7.2.3)
