Lazy continuation terminates inconsistently across parsers for nested blockquotes inside lists
0 reputation · 17 Dec 2020, 20:26 UTC
Goal
Determine the expected rendering of lazy continuation lines when a blockquote is nested inside a list item and the continuation lines omit markers across blank lines or additional nesting levels.
Constraints and uncertainty
The CommonMark specification defines lazy continuation but does not explicitly resolve how blank lines interact with nested blockquotes inside lists, nor does it prescribe indentation requirements for lazy lines at each nesting depth. Major parsers—cmark, markdown-it, and Pandoc—produce divergent HTML for identical input in these scenarios, and the CommonMark test suite includes failing cases that highlight the ambiguity.
Questions
- Which parser behaviors align with the spec's intent for blank-line termination of lazy continuation in a list > blockquote context?
- What indentation rules should apply to lazy continuation lines at each nesting level (list > blockquote > list)?
- How should implementations handle lazy continuation across three or more nesting levels without explicit markers?