Skip to content

🐛 [md] Incorrect parsing of sub lists #10558

@ematipico

Description

@ematipico

Environment information

main

What happened?

The following markdown is incorrectly parsed

* Text

 	- foo
 	- lreum
 	- bar

https://biomejs.dev/playground/?lintRules=useVueConsistentDefinePropsDeclaration&tab=syntax&pane=Console&code=CgAqACAAVABlAHgAdAAKAAoAIAAJAC0AIABmAG8AbwAKACAACQAtACAAbAByAGUAdQBtAAoAIAAJAC0AIABiAGEAcgAKAA%3D%3D&language=md

The nested list is parsed as a normal paragraph.

Expected result

It should be parsed as a bullet list

https://spec.commonmark.org/dingus/?text=foo%5C%0Abaz%0A

cc @jfmcdowell

Code of Conduct

  • I agree to follow Biome's Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-ParserArea: parserL-MarkdownLanguage: MarkdownS-Bug-confirmedStatus: report has been confirmed as a valid bug

    Type

    No fields configured for Bug.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions