Skip to content

> counts as both the start of a blockquote and the end of inline HTML? #1002

@ytmimi

Description

@ytmimi

Using commit: 2f183d7.

I'm a little confused about this case, and I think this is an issue with identifying inline HTML. Given the following input:

* <c
  >

pulldown-cmark considers the \n> as part of the InlineHtml text and as starting a blockquote.

running cargo run -- -e produces these events:

0..10: Start(List(None))
0..10: Start(Item)
2..8: InlineHtml(Boxed("<c\n>"))
8..9: Start(BlockQuote(None))
8..9: End(BlockQuote(None))
0..10: End(Item)
0..10: End(List(false))
EOF

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions