Skip to content

[fuzz result] incorrect delimiter matching with long run lengths #729

@notriddle

Description

@notriddle

Events from pulldown-cmark:

"j***5*=*\n" -> [
  Start(Paragraph)
    Text(Boxed("j**"))
    Start(Emphasis)
      Text(Borrowed("5"))
    End(Emphasis)
    Text(Boxed("=*"))
  End(Paragraph)
]

spec.commonmark.org dingus

pandoc.org try

Details

Events from pandoc:

"j***5*=*\n" -> [
  Start(Paragraph)
    Text(Boxed("j*"))
    Start(Emphasis)
      Start(Emphasis)
        Text(Boxed("5"))
      End(Emphasis)
      Text(Boxed("="))
    End(Emphasis)
  End(Paragraph)
]

Events from commonmark.js:

"j***5*=*\n" -> [
  Start(Paragraph)
    Text(Boxed("j*"))
    Start(Emphasis)
      Start(Emphasis)
        Text(Boxed("5"))
      End(Emphasis)
      Text(Boxed("="))
    End(Emphasis)
  End(Paragraph)
]

AST from pandoc:

Pandoc {
    meta: {},
    blocks: [
        Para(
            [
                Str(
                    "j*",
                ),
                Emph(
                    [
                        Emph(
                            [
                                Str(
                                    "5",
                                ),
                            ],
                        ),
                        Str(
                            "=",
                        ),
                    ],
                ),
            ],
        ),
    ],
}

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