semantic-release-bot
73d5116de4
chore(release): 18.2.1 [skip ci]
...
## [18.2.1](https://github.com/markedjs/marked/compare/v18.2.0...v18.2.1 ) (2026-11-16)
### Bug Fixes
* allow tabs between the tag name and attributes of an html block ([#4207 ](https://github.com/markedjs/marked/issues/4207 )) ([738ebeb ](https://github.com/markedjs/marked/commit/738ebebc835ebc97fe82e3321bc7f91f638c531f ))
* **cli:** wait for stdout before exiting ([#4197 ](https://github.com/markedjs/marked/issues/4197 )) ([b535046 ](https://github.com/markedjs/marked/commit/b535046bf59cbe488be4354f02d56b1a1bb6fdaa ))
* continue a block quote paragraph with a lazy line that starts an html tag ([#4202 ](https://github.com/markedjs/marked/issues/4202 )) ([8a578e4 ](https://github.com/markedjs/marked/commit/8a578e4c0c7e1c650a6bad82254d30b0d377c730 ))
* end a block quote at a lazy line after an empty list item ([#4178 ](https://github.com/markedjs/marked/issues/4178 )) ([e2f77b4 ](https://github.com/markedjs/marked/commit/e2f77b4b72ccaefeb99fc74df2bfd7016636c3b2 ))
* end a list item before a lazy line after an empty or non-paragraph nested block ([#4183 ](https://github.com/markedjs/marked/issues/4183 )) ([ac2256e ](https://github.com/markedjs/marked/commit/ac2256e1130957341831a8308f73720ede7e6095 ))
* Fix bracket escapes inside code spans in link text being stripped ([#4205 ](https://github.com/markedjs/marked/issues/4205 )) ([9a26ae9 ](https://github.com/markedjs/marked/commit/9a26ae9ceeb26f79f35a03ec910f996147087ef8 )), closes [#4176 ](https://github.com/markedjs/marked/issues/4176 ) [#4176 ](https://github.com/markedjs/marked/issues/4176 ) [#4176 ](https://github.com/markedjs/marked/issues/4176 )
* keep a tab after the block quote marker's space literal ([#4208 ](https://github.com/markedjs/marked/issues/4208 )) ([2d3b47f ](https://github.com/markedjs/marked/commit/2d3b47fa217a06f9a360d86ebf0f766d19949621 ))
* keep rejected table candidates in the preceding paragraph ([#4218 ](https://github.com/markedjs/marked/issues/4218 )) ([1c5969e ](https://github.com/markedjs/marked/commit/1c5969e395905fa3f33f3a847d8ad655f1dfcce7 ))
* keep tabs that are code content under a block quote ([#4217 ](https://github.com/markedjs/marked/issues/4217 )) ([d2c6f73 ](https://github.com/markedjs/marked/commit/d2c6f736f339b4739a16426c681528ca210a6e87 )), closes [#4184 ](https://github.com/markedjs/marked/issues/4184 )
* let a mid-run opener close against a delimiter that can also open ([#4203 ](https://github.com/markedjs/marked/issues/4203 )) ([06e1d10 ](https://github.com/markedjs/marked/commit/06e1d1090338b76c3d458a26d52ee67f72c8d6e1 ))
* let an autolink or inline html line start or continue a setext heading ([#4191 ](https://github.com/markedjs/marked/issues/4191 )) ([72d0fec ](https://github.com/markedjs/marked/commit/72d0fec9b59a12c5446b9377cf4363a2794ce54b ))
* parse links generated by inline tokenizers ([#4204 ](https://github.com/markedjs/marked/issues/4204 )) ([0460f98 ](https://github.com/markedjs/marked/commit/0460f98b7e2a1dfedf40eccddaa8d8ada1731d2a ))
* preserve trailing blank lines in fenced code ([#4200 ](https://github.com/markedjs/marked/issues/4200 )) ([7499eb3 ](https://github.com/markedjs/marked/commit/7499eb3a23eb29c0e9d2ffde551b92439a9b3af6 ))
* reject a link destination in angle brackets with an unescaped < or > ([#4206 ](https://github.com/markedjs/marked/issues/4206 )) ([de71210 ](https://github.com/markedjs/marked/commit/de71210d4204745b326d2e8357240f7a350221f8 ))
* remove a task item's checkbox marker from its own text ([#4215 ](https://github.com/markedjs/marked/issues/4215 )) ([5902442 ](https://github.com/markedjs/marked/commit/59024421a4ce874168d3f551565f4ebad121f5af ))
* **types:** preserve custom output types in tokenizer overrides ([#4214 ](https://github.com/markedjs/marked/issues/4214 )) ([5e35708 ](https://github.com/markedjs/marked/commit/5e35708f3f4a88d477c37c2d42ad86907d6b4daf ))
### Performance Improvements
* check the first character before inline tokenizer regexes ([#4193 ](https://github.com/markedjs/marked/issues/4193 )) ([95ccf6c ](https://github.com/markedjs/marked/commit/95ccf6c186a38e092dfb666d68f70cfcd89c53a5 ))
* close residual O(n²) parse time on unmatched emphasis/strikethrough delimiter runs (follow-up to [#4099 ](https://github.com/markedjs/marked/issues/4099 ) / [#4103 ](https://github.com/markedjs/marked/issues/4103 )) ([#4196 ](https://github.com/markedjs/marked/issues/4196 )) ([0b8b3b3 ](https://github.com/markedjs/marked/commit/0b8b3b33863822681a1cb5a365baec684c368230 ))
* skip the emphasis closer scan for inline runs without a delimiter ([#4195 ](https://github.com/markedjs/marked/issues/4195 )) ([ffa06d5 ](https://github.com/markedjs/marked/commit/ffa06d52ce67f952e0c50ccc7371f50cfe27cfc6 ))
v18.2.1
2026-11-16 17:20:37 +00:00
Tony Brix
b4eeb40b54
chore: update deps ( #4228 )
2026-11-16 10:18:07 -07:00
dependabot[bot]
5fb062a257
chore(deps-dev): bump dts-bundle-generator from 9.5.1 to 10.0.0 ( #4226 )
...
Bumps [dts-bundle-generator](https://github.com/timocov/dts-bundle-generator ) from 9.5.1 to 10.0.0.
- [Release notes](https://github.com/timocov/dts-bundle-generator/releases )
- [Commits](https://github.com/timocov/dts-bundle-generator/compare/v9.5.1...v10.0.0 )
---
updated-dependencies:
- dependency-name: dts-bundle-generator
dependency-version: 10.0.0
dependency-type: direct:development
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-11-16 10:02:05 -07:00
dependabot[bot]
0287341c94
chore(deps-dev): bump @semantic-release/github from 12.0.10 to 12.0.11 ( #4227 )
...
Bumps [@semantic-release/github](https://github.com/semantic-release/github ) from 12.0.10 to 12.0.11.
- [Release notes](https://github.com/semantic-release/github/releases )
- [Commits](https://github.com/semantic-release/github/compare/v12.0.10...v12.0.11 )
---
updated-dependencies:
- dependency-name: "@semantic-release/github"
dependency-version: 12.0.11
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-11-16 09:36:46 -07:00
generaltony007 and GeneralTony007
1c5969e395
fix: keep rejected table candidates in the preceding paragraph ( #4218 )
...
* fix: keep rejected table candidates in the preceding paragraph
Co-authored-by: GeneralTony007 <144252170+GeneralTony007@users.noreply.github.com >
* test: preserve inline queue and custom paragraph tokenizers
Co-authored-by: GeneralTony007 <144252170+GeneralTony007@users.noreply.github.com >
* test: cover rejected GFM table candidates and valid controls
Co-authored-by: GeneralTony007 <144252170+GeneralTony007@users.noreply.github.com >
* test: record reference HTML for rejected table continuation
Co-authored-by: GeneralTony007 <144252170+GeneralTony007@users.noreply.github.com >
---------
Co-authored-by: GeneralTony007 <144252170+GeneralTony007@users.noreply.github.com >
2026-11-16 09:34:42 -07:00
kevin
d2c6f736f3
fix: keep tabs that are code content under a block quote ( #4217 )
...
* fix: keep tabs that are code content under a block quote
After ">", an optional space is part of the marker; tabs after that
space belong to the line content (e.g. fenced code) and must not be
expanded. Tabs with no leading space are still expanded so indented
code under a quote keeps working.
Fixes #4184
* test: move the block quote tab case to a renderExact spec
2026-11-16 09:33:49 -07:00
Afonso Ribeiro
59024421a4
fix: remove a task item's checkbox marker from its own text ( #4215 )
2026-11-16 09:32:48 -07:00
generaltony007 and generaltony007
5e35708f3f
fix(types): preserve custom output types in tokenizer overrides ( #4214 )
...
* fix(types): preserve custom output types in tokenizer overrides
Co-authored-by: generaltony007 <144252170+GeneralTony007@users.noreply.github.com >
* test(types): cover generic tokenizer context and string defaults
Co-authored-by: generaltony007 <144252170+GeneralTony007@users.noreply.github.com >
---------
Co-authored-by: generaltony007 <144252170+GeneralTony007@users.noreply.github.com >
2026-11-16 09:31:17 -07:00
yash
de71210d42
fix: reject a link destination in angle brackets with an unescaped < or > ( #4206 )
2026-11-16 09:29:19 -07:00
奶油芝士脆脆鲨
0460f98b7e
fix: parse links generated by inline tokenizers ( #4204 )
2026-11-16 09:28:27 -07:00
yash
06e1d10903
fix: let a mid-run opener close against a delimiter that can also open ( #4203 )
2026-11-16 09:27:25 -07:00
lfhwnqe
7499eb3a23
fix: preserve trailing blank lines in fenced code ( #4200 )
2026-11-16 09:26:02 -07:00
Panda Xiong and pandaxiong0729
b535046bf5
fix(cli): wait for stdout before exiting ( #4197 )
...
Co-authored-by: pandaxiong0729 <239575197+pandaxiong0729@users.noreply.github.com >
2026-11-16 09:25:08 -07:00
Wei-Lun Li
ffa06d52ce
perf: skip the emphasis closer scan for inline runs without a delimiter ( #4195 )
2026-11-16 09:24:33 -07:00
Gal Be
95ccf6c186
perf: check the first character before inline tokenizer regexes ( #4193 )
2026-11-16 09:23:41 -07:00
Alperen Manas
72d0fec9b5
fix: let an autolink or inline html line start or continue a setext heading ( #4191 )
2026-11-16 09:22:40 -07:00
Wei-Lun Li and Claude Opus 5.5
e2f77b4b72
fix: end a block quote at a lazy line after an empty list item ( #4178 )
...
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com >
2026-11-16 09:20:44 -07:00
Vadim Toptunov
0b8b3b3386
perf: close residual O(n²) parse time on unmatched emphasis/strikethrough delimiter runs (follow-up to #4099 / #4103 ) ( #4196 )
...
* perf: skip dead emphasis/strikethrough delim runs in inline pass
Follow-up to #4099 / #4103 . When an input line contains a long run of `*`,
`_` or `~` with no closer anywhere ahead in maskedSrc, every opener
position in Tokenizer.emStrong / Tokenizer.del was correctly early-returning
via the lastPossibleCloserIndex guard introduced by #4103 , but the outer
inline loop still advanced one character at a time through the run. The
`^\*+` greedy anchor in emStrongLDelim re-scans the whole run on each
call, so the inline pass remains O(n^2) even though the inner closer scan
is now O(1).
Measured on master before this change:
```
**` x 20000 + 'x' 8.73 s
__` x 20000 + 'x' 11.30 s
*` x 40000 + 'x' 8.73 s
_` x 40000 + 'x' 11.30 s
```
With this change the same inputs render in ~0.001 s. The CommonMark
spec test suite (1983 cases) and the project's unit tests (242 cases)
continue to pass. A new fixture `em_strong_unmatched_delim_run`
documents the behavior for closer-less `*`, `_`, and `~` runs.
The fix checks the cached last-possible-closer index that #4103
already maintains; when no closer exists after the current position,
the entire run of same-delim characters is consumed as literal text in
one step. Behavior is unchanged (runs without a closer have always
rendered as literal text); only the time to reach that result changes.
* test(redos): regression test for closer-less delimiter run quadratic
Mirrors the quadratic_em_mask.cjs / quadratic_br.cjs style. Each of the
four cases fails on 18.1.3 baseline (times out around 2.3-3.0s per case
in test:specs) and passes in 5-7ms with the fix.
- '**' x 10000 + 'x' -> <p>**...**x</p>
- '__' x 10000 + 'x' -> <p>__...__x</p>
- '*' x 20000 + 'x' -> <p>*...*x</p>
- '_' x 20000 + 'x' -> <p>_..._x</p>
Requested by @UziTech in review of #4196 .
2026-11-16 09:11:21 -07:00
Ragib MRB
81592c3fdd
docs: sync renderer and tokenizer lists and example output with current API ( #4224 )
2026-11-16 00:12:35 -07:00
generaltony007 and generaltony007
9a26ae9cee
fix: Fix bracket escapes inside code spans in link text being stripped ( #4205 )
...
* Fix bracket escapes inside code spans in link text being stripped
The link label matcher consumes backslash-escaped brackets, and outputLink then removes those escapes from the label text. It did so over the whole label, so a backslash-escaped bracket inside a code span also lost its backslash even though code span content is literal: [`\]`] rendered <code>]</code> instead of <code>\]</code>.
Scan the label and copy code spans through verbatim, unescaping brackets only outside of them.
Refs #4176
Co-authored-by: generaltony007 <144252170+GeneralTony007@users.noreply.github.com >
* Add spec tests for bracket escapes in link text code spans
Refs #4176
Co-authored-by: generaltony007 <144252170+GeneralTony007@users.noreply.github.com >
* Add expected HTML for bracket escapes in link text code spans
Refs #4176
Co-authored-by: generaltony007 <144252170+GeneralTony007@users.noreply.github.com >
---------
Co-authored-by: generaltony007 <144252170+GeneralTony007@users.noreply.github.com >
2026-11-13 11:22:38 -07:00
Alperen Manas
ac2256e113
fix: end a list item before a lazy line after an empty or non-paragraph nested block ( #4183 )
2026-11-13 11:21:00 -07:00
yash
8a578e4c0c
fix: continue a block quote paragraph with a lazy line that starts an html tag ( #4202 )
...
* fix: continue a block quote paragraph with a lazy line that starts an html tag
A lazy continuation line in a block quote that is only an html tag, like
`</span>` or `<a href="bar">`, was lexed as an html block, which ended the
paragraph. An html block of type 7 cannot interrupt a paragraph, so the
line continues the paragraph, as in CommonMark.
* refactor: move the lazy html paragraph check to the tokenizer
2026-11-13 11:19:55 -07:00
yash
738ebebc83
fix: allow tabs between the tag name and attributes of an html block ( #4207 )
2026-11-10 21:13:02 -07:00
Aarav Gupta and usesprocket[bot]
2d3b47fa21
fix: keep a tab after the block quote marker's space literal ( #4208 )
...
Co-authored-by: usesprocket[bot] <306702232+usesprocket[bot]@users.noreply.github.com>
2026-11-10 21:11:38 -07:00
NingLin Liu
1ae2ac9d7f
docs: fix typo in demo comment ( #4220 )
2026-11-10 21:09:29 -07:00
semantic-release-bot
afba4543ff
chore(release): 18.2.0 [skip ci]
...
# [18.2.0](https://github.com/markedjs/marked/compare/v18.1.3...v18.2.0 ) (2026-11-09)
### Bug Fixes
* keep hard line breaks in image alt text ([#4187 ](https://github.com/markedjs/marked/issues/4187 )) ([ed54c54 ](https://github.com/markedjs/marked/commit/ed54c541ef75740634a09233c685a5bba1e92944 ))
* let emphasis open after the other delimiter character ([#4169 ](https://github.com/markedjs/marked/issues/4169 )) ([219492a ](https://github.com/markedjs/marked/commit/219492a64e5cd0a7f264678b7a80bdd2201c970b ))
* let emphasis open and close in angle brackets that are not html ([#4190 ](https://github.com/markedjs/marked/issues/4190 )) ([7bfa1f7 ](https://github.com/markedjs/marked/commit/7bfa1f70e8756c6ee3e47c235a34556edbf48b49 ))
* preserve zero from named extension renderers ([#4199 ](https://github.com/markedjs/marked/issues/4199 )) ([b81a00a ](https://github.com/markedjs/marked/commit/b81a00a2e332a47e0ccc0ff376babfe78392f321 ))
* text after a heading or code block in a nested list item is pulled into the outer item ([#4179 ](https://github.com/markedjs/marked/issues/4179 )) ([4cb767a ](https://github.com/markedjs/marked/commit/4cb767a966b496eb74cb2779ff2b8d0054a2a035 ))
### Features
* add lastToken to lexer state ([#4160 ](https://github.com/markedjs/marked/issues/4160 )) ([e4ab77f ](https://github.com/markedjs/marked/commit/e4ab77f6e46d478cfed8697c308dddc60b9ddf99 ))
v18.2.0
2026-11-09 23:04:37 +00:00
dependabot[bot]
7220efa927
chore(deps-dev): bump rimraf from 6.1.3 to 6.1.4 ( #4212 )
...
Bumps [rimraf](https://github.com/isaacs/rimraf ) from 6.1.3 to 6.1.4.
- [Changelog](https://github.com/isaacs/rimraf/blob/main/CHANGELOG.md )
- [Commits](https://github.com/isaacs/rimraf/compare/v6.1.3...v6.1.4 )
---
updated-dependencies:
- dependency-name: rimraf
dependency-version: 6.1.4
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-11-09 16:02:16 -07:00
dependabot[bot]
6fd880c310
chore(deps-dev): bump tslib from 2.8.1 to 2.9.1 ( #4211 )
...
Bumps [tslib](https://github.com/Microsoft/tslib ) from 2.8.1 to 2.9.1.
- [Release notes](https://github.com/Microsoft/tslib/releases )
- [Commits](https://github.com/Microsoft/tslib/compare/v2.8.1...v2.9.1 )
---
updated-dependencies:
- dependency-name: tslib
dependency-version: 2.9.1
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-11-09 16:02:02 -07:00
Aryapatel-007 and Claude Opus 5.5
8ac3e2089a
docs: list --version in the man page and fix --no- option spelling ( #4192 )
...
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com >
2026-11-09 15:42:41 -07:00
vidigoat and Claude Opus 5.5
e4ab77f6e4
feat: add lastToken to lexer state ( #4160 )
...
* fix: only let a non-empty list starting with 1 interrupt a paragraph in a list item
Inside a list item, paragraph lines are lexed as text tokens, and the list
tokenizer ran before the text tokenizer without checking whether the list
may interrupt the paragraph, so `14.` or an empty `*` on the next line
started a nested list. Apply the same rule as the paragraph interrupt: only
a non-empty list starting with a bullet or 1 can interrupt a paragraph.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
* refactor: move the list interrupt check into the list tokenizer
The lexer passes its tokens to `list(src, tokens)`, and the tokenizer
checks the last one, so `list(src)` overrides keep working.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
* refactor: keep the block tokens in the lexer state for the list tokenizer
`blockTokens` sets `this.lexer.state.tokens` to the tokens it is lexing
and restores the outer ones when it returns, so `list(src)` keeps its
signature and checks the token before it from the state.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
* refactor: keep only the last block token in the lexer state
`blockTokens` records the last token of the run it is lexing in
`this.lexer.state.lastToken` before each tokenizer runs, and restores the
outer one when a nested call returns, so the list tokenizer checks
`state.lastToken` instead of the whole token list.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
---------
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com >
2026-11-09 15:39:58 -07:00
Shaurya Kesarwani
219492a64e
fix: let emphasis open after the other delimiter character ( #4169 )
2026-11-09 15:35:38 -07:00
lfhwnqe
b81a00a2e3
fix: preserve zero from named extension renderers ( #4199 )
2026-11-09 08:17:04 -07:00
kevin
7bfa1f70e8
fix: let emphasis open and close in angle brackets that are not html ( #4190 )
2026-11-08 11:11:08 -07:00
yash
4cb767a966
fix: text after a heading or code block in a nested list item is pulled into the outer item ( #4179 )
...
fix: end a list item before a lazy line after a nested block
A line with less indentation than a list item is only a lazy
continuation when it continues a paragraph. The list tokenizer checked
the previous line for a fence, heading or hr, but it used the regexes
scaled to the item indent on a line that is already relative to the
item content, and it did not look inside a nested list item or
blockquote on that line. So text after `- - # heading`, `- > ***`, or a
fenced code block in a nested item was pulled into the outer item.
2026-11-08 11:09:29 -07:00
Lim Jooyoung
ed54c541ef
fix: keep hard line breaks in image alt text ( #4187 )
2026-11-08 11:07:15 -07:00
semantic-release-bot
ba50aa9563
chore(release): 18.1.3 [skip ci]
...
## [18.1.3](https://github.com/markedjs/marked/compare/v18.1.2...v18.1.3 ) (2026-11-02)
### Bug Fixes
* allow trailing tabs after a setext heading underline ([#4152 ](https://github.com/markedjs/marked/issues/4152 )) ([1f1b480 ](https://github.com/markedjs/marked/commit/1f1b480a29644a26e70ad63cd45343e439fb12e9 ))
* avoid quadratic scan for unmatched emphasis delimiters ([#4103 ](https://github.com/markedjs/marked/issues/4103 )) ([eab1e48 ](https://github.com/markedjs/marked/commit/eab1e483fe88e559288d3003d493bbc0ec4ecf53 )), closes [#4099 ](https://github.com/markedjs/marked/issues/4099 )
* await promise arrays from walkTokens extensions ([#4153 ](https://github.com/markedjs/marked/issues/4153 )) ([c38704c ](https://github.com/markedjs/marked/commit/c38704c2faa07f9d68b278133ec668039d58149b ))
* **cli:** honor defaults and config when outputting tokens ([#4146 ](https://github.com/markedjs/marked/issues/4146 )) ([9470e8f ](https://github.com/markedjs/marked/commit/9470e8f719d6b276065e277de5d9f8bca7c35c4a ))
* collapse internal whitespace when normalizing link labels ([#4157 ](https://github.com/markedjs/marked/issues/4157 )) ([02c73e8 ](https://github.com/markedjs/marked/commit/02c73e8e659d369f4baba41903be3ddde128f15c ))
* do not allow a blank line inside a link reference definition label ([#4165 ](https://github.com/markedjs/marked/issues/4165 )) ([f3d21af ](https://github.com/markedjs/marked/commit/f3d21af0706fd6f10998e838e0841c39603689cc ))
* don't treat an escaped ) or quote as an inline link or title closer ([#4151 ](https://github.com/markedjs/marked/issues/4151 )) ([9cb84e0 ](https://github.com/markedjs/marked/commit/9cb84e07d18833a241f3df13d7419596f5b203ff ))
* end a list item before a lazy line after an html block ([#4159 ](https://github.com/markedjs/marked/issues/4159 )) ([7ba42f4 ](https://github.com/markedjs/marked/commit/7ba42f445cd88286dbad4e4104e6b3842ed814b5 ))
* end blockquote before a lazy line after a table ([#4161 ](https://github.com/markedjs/marked/issues/4161 )) ([e7dcf52 ](https://github.com/markedjs/marked/commit/e7dcf52ddbf88171e630ec1b88d8242d67b29e0b ))
* isolate extension names from Object.prototype ([#4177 ](https://github.com/markedjs/marked/issues/4177 )) ([5cb03bd ](https://github.com/markedjs/marked/commit/5cb03bd9a293976c8dd3099274cff161b08f5cb0 ))
* keep a block quote open after a lazy line in a nested block quote ([#4175 ](https://github.com/markedjs/marked/issues/4175 )) ([1d7272f ](https://github.com/markedjs/marked/commit/1d7272f9ca02cdef3fb2ad061fa4da38b8978661 ))
* only close a code fence with the opening fence character ([#4164 ](https://github.com/markedjs/marked/issues/4164 )) ([1d4d8fe ](https://github.com/markedjs/marked/commit/1d4d8fe6f5ed2a4ead1a75bf67627318ca92115a ))
* preserve zero-valued custom renderer results ([#4162 ](https://github.com/markedjs/marked/issues/4162 )) ([e43ceef ](https://github.com/markedjs/marked/commit/e43ceef44a981a620072252c021f43f4e5395fc4 ))
* recognize task list items when a tab follows the checkbox ([#4163 ](https://github.com/markedjs/marked/issues/4163 )) ([64a299d ](https://github.com/markedjs/marked/commit/64a299def97ab8d2aa0c92458585ee894c247a5d ))
* start a GFM www autolink only at a word boundary ([#4166 ](https://github.com/markedjs/marked/issues/4166 )) ([84beefb ](https://github.com/markedjs/marked/commit/84beefb3eb24dbf25c526467a2a3906b9afe11e8 ))
### Performance Improvements
* fix backtracking in padantic html ([#4173 ](https://github.com/markedjs/marked/issues/4173 )) ([2d4a23c ](https://github.com/markedjs/marked/commit/2d4a23c50e5c4fe64de67762d19a0c9741a811d4 ))
v18.1.3
2026-11-02 17:59:13 +00:00
dependabot[bot]
ec34be82ea
chore(deps-dev): bump eslint from 10.13.0 to 10.14.0 ( #4182 )
...
Bumps [eslint](https://github.com/eslint/eslint ) from 10.13.0 to 10.14.0.
- [Release notes](https://github.com/eslint/eslint/releases )
- [Commits](https://github.com/eslint/eslint/compare/v10.13.0...v10.14.0 )
---
updated-dependencies:
- dependency-name: eslint
dependency-version: 10.14.0
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-11-02 10:56:25 -07:00
dependabot[bot]
e4c7453369
chore(deps-dev): bump recheck from 4.6.1 to 4.6.2 ( #4181 )
...
Bumps [recheck](https://github.com/makenowjust-labs/recheck ) from 4.6.1 to 4.6.2.
- [Release notes](https://github.com/makenowjust-labs/recheck/releases )
- [Changelog](https://github.com/makenowjust-labs/recheck/blob/main/CHANGELOG.md )
- [Commits](https://github.com/makenowjust-labs/recheck/compare/v4.6.1...v4.6.2 )
---
updated-dependencies:
- dependency-name: recheck
dependency-version: 4.6.2
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-11-02 10:56:02 -07:00
Wei-Lun Li and Claude Opus 5.5
1d7272f9ca
fix: keep a block quote open after a lazy line in a nested block quote ( #4175 )
...
After a lazy continuation line in a nested block quote, a following line
that starts with ">" but does not continue the inner paragraph (a blank
">", a heading, a thematic break, a list item, ...) started a new
top-level block quote. It belongs to the outer block quote, as in
CommonMark.
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com >
2026-11-02 08:02:32 -07:00
Tony Brix
2d4a23c50e
perf: fix backtracking in padantic html ( #4173 )
2026-11-02 08:01:25 -07:00
Grogu and Minjung
5cb03bd9a2
fix: isolate extension names from Object.prototype ( #4177 )
...
Co-authored-by: Minjung <minjungsung@users.noreply.github.com >
2026-11-02 08:00:49 -07:00
f3d21af070
fix: do not allow a blank line inside a link reference definition label ( #4165 )
...
Co-authored-by: aman <aman@pronnel.com >
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com >
2026-11-02 07:58:15 -07:00
1d4d8fe6f5
fix: only close a code fence with the opening fence character ( #4164 )
...
Co-authored-by: aman <aman@pronnel.com >
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com >
2026-11-02 07:57:23 -07:00
CyberNative AI LLC
64a299def9
fix: recognize task list items when a tab follows the checkbox ( #4163 )
2026-11-02 07:56:49 -07:00
Y Micker
e43ceef44a
fix: preserve zero-valued custom renderer results ( #4162 )
...
Assisted-by: OpenAI GPT-6 <noreply@openai.com >
2026-11-02 07:56:08 -07:00
Ngo Quoc Viet
e7dcf52ddb
fix: end blockquote before a lazy line after a table ( #4161 )
2026-11-02 07:55:25 -07:00
Alperen
7ba42f445c
fix: end a list item before a lazy line after an html block ( #4159 )
2026-11-02 07:54:02 -07:00
Enes Uygur
02c73e8e65
fix: collapse internal whitespace when normalizing link labels ( #4157 )
...
Reference definitions collapsed internal whitespace in their labels before
storing them, but the reflink masking in the lexer looked labels up with
normalizeLabel alone. A reference whose label held a line break or several
spaces was not masked, so emphasis delimiters inside it paired with ones
outside the link, and shortcut references lost the link entirely.
Collapse the whitespace in normalizeLabel itself, so the definition, the
reference and the masking all use the same key.
2026-11-02 07:53:31 -07:00
RRFZ
c38704c2fa
fix: await promise arrays from walkTokens extensions ( #4153 )
...
* fix: await promise arrays from walkTokens extensions
* fix: declare promise arrays for walkTokens extensions
2026-11-02 07:52:48 -07:00
1f1b480a29
fix: allow trailing tabs after a setext heading underline ( #4152 )
...
fix: allow trailing tabs on setext heading underlines
CommonMark treats spaces or tabs after a setext underline as part of the
underline. Marked only allowed spaces, so `Foo` followed by `===\t` stayed
a paragraph and `---\t` became a thematic break.
Co-authored-by: Cursor Agent <cursoragent@cursor.com >
Co-authored-by: Rahul Kashyap <itisrmk@users.noreply.github.com >
2026-11-02 07:52:01 -07:00