block: specify footnote label in event

instead of using span
This commit is contained in:
Noah Hellman 2023-04-29 19:48:45 +02:00
parent 116245367a
commit 6cebdfcc0c
2 changed files with 9 additions and 7 deletions

View file

@ -918,7 +918,7 @@ impl<'s> Parser<'s> {
block::Node::Container(c) => match c {
block::Container::Blockquote => Container::Blockquote,
block::Container::Div => Container::Div { class: content },
block::Container::Footnote => Container::Footnote { label: content },
block::Container::Footnote { label } => Container::Footnote { label },
block::Container::List {
kind: block::ListKind { ty, tight },
marker,