Sourced from markdown-it's changelog.
[14.2.0] - 2026-05-24
Added
isPunctCharCodeto utilities.Fixed
- Don't end HTML comment blocks on a blank line, #1155.
- Properly recognize astral chars (surrogates) in delimiter scans for emphasis-like markers, #1072. Big thanks to
@tats-ufor his global efforts with improving CJK support.- Preserve unicode whitespaces when trimm headings/paragraphs, #1074.
- More strict entities decode to avoid false positives
;, #1096.- Restore block parser state on fail in
lheadingrule, #1131.Security
- Fixed poor smartquotes perfomance on > 70k quotes in single block
- Bumped linkify-it to 5.0.1 with fixed potential perfomance issues.
[14.1.1] - 2026-01-11
Security
- Fixed regression from v13 in linkify inline rule. Specific patterns could cause high CPU use. Thanks to
@ltduc147for report.
829797a
14.2.0 released9ce2087
Fix smartquotes perfomance02e73b8
linkify-it bump68cfb8c
fix: don't end HTML comment blocks on a blank line (#1155)1083137
Readme cleanup97c7ca2
Update funding infoc471b55
Changelog update7769621
isPunctChar => isPunctCharCodeaa2aa70
fix: always reset parentType in lheading rule (#1131)59955f2
Polish PRs #1072,
#1074