Skip to content

Lists are parsed in places that cmark doesn't see them #680

@notriddle

Description

@notriddle

Fuzzing result

Events from pulldown-cmark:

";\n*\n%\n" -> [
  Start(Paragraph)
    Text(Borrowed(";"))
  End(Paragraph)
  Start(List(None))
    Start(Item)
    End(Item)
  End(List(false))
  Start(Paragraph)
    Text(Borrowed("%"))
  End(Paragraph)
]

Events from pandoc:

";\n*\n%\n" -> [
  Start(Paragraph)
    Text(Boxed(";"))
    SoftBreak
    Text(Boxed("*"))
    SoftBreak
    Text(Boxed("%"))
  End(Paragraph)
]

Events from commonmark.js:

";\n*\n%\n" -> [
  Start(Paragraph)
    Text(Boxed(";"))
    SoftBreak
    Text(Boxed("*"))
    SoftBreak
    Text(Boxed("%"))
  End(Paragraph)
]

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions