You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Text after an empty nested blockquote is dropped (18.0.9+) #4098
Same for >>>\ntext and > quote\n>>\ntext. With >>\ntext\n> more, the following > more blockquote disappears as well.
Expected behavior
The empty nested blockquote closes and text becomes a paragraph after it, as in CommonMark and 18.0.8.
This looks like it comes from #4030: the continuation branch in Tokenizer.blockquote() now appends every continuation line to raw, also when the re-tokenized nested blockquote did not consume them, so the lexer skips past text no token holds. Reverting that commit brings the paragraph back. I have a small fix with a spec test in test/specs/new/ and would be glad to open a PR if that is welcome.
Taking this: empty nested blockquotes dropping following text (>>\ntext and the related cases). I'll open a focused PR against master unless someone already has a Fixes PR in flight.
Activity
UziTech commentedon Sep 19, 2026
Ya PRs are always welcome 😁👍
dyk1454683243-sudo commentedon Sep 20, 2026
Taking this: empty nested blockquotes dropping following text (
>>\ntextand the related cases). I'll open a focused PR against master unless someone already has a Fixes PR in flight.fix: keep text after empty nested blockquote (#4101)
chore(release): 18.0.14 [skip ci]
fix(deps): marked 18.0.13 -> 18.0.14, and pin Radix dialog/toast back…
fix(deps): marked 18.0.13 -> 18.0.14, and pin Radix dialog/toast back…