Skip to content

[fuzz result] footnote definitions in blockquotes do not match on first line #766

@notriddle

Description

@notriddle

This markdown:

> [^5]: * test
>
> test [^5]

On GitHub, it looks like this:

test 1

(the block quote appears at the end of the document, but it still parses)

pulldown-cmark isn't recognizing it, parsing it as text

Details
">>  [^^]:>,* 8[\n" -> [
  Start(BlockQuote)
    Start(BlockQuote)
      Start(Paragraph)
        Text(Boxed("[^^]:>,* 8["))
      End(Paragraph)
    End(BlockQuote)
  End(BlockQuote)
]

Events from pandoc:

">>  [^^]:>,* 8[\n" -> [
  Start(BlockQuote)
    Start(BlockQuote)
    End(BlockQuote)
  End(BlockQuote)
]

Events from commonmark.js:

">>  [^^]:>,* 8[\n" -> [
  Start(BlockQuote)
    Start(BlockQuote)
      Start(Paragraph)
        Text(Boxed("[^^]:>,* 8["))
      End(Paragraph)
    End(BlockQuote)
  End(BlockQuote)
]

Footnotes

    • test

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