Skip to content

HTML has higher priority than block quotes #674

@notriddle

Description

@notriddle

Found with modified differential fuzzer (please mark as a fuzzing output): #673

Events from pulldown-cmark:

"<G\n>\n" -> [
  Start(Paragraph)
    Html(Boxed("<G\n>"))
  End(Paragraph)
]

Events from pandoc:

"<G\n>\n" -> [
  Start(Paragraph)
    Text(Boxed("<G"))
  End(Paragraph)
  Start(BlockQuote)
  End(BlockQuote)
]

Events from commonmark.js:

"<G\n>\n" -> [
  Start(Paragraph)
    Text(Boxed("<G"))
  End(Paragraph)
  Start(BlockQuote)
  End(BlockQuote)
]

AST from pandoc:

Pandoc {
    meta: {},
    blocks: [
        Para(
            [
                Str(
                    "<G",
                ),
            ],
        ),
        BlockQuote(
            [],
        ),
    ],
}

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