Create structure for footnote references.
This commit is contained in:
@@ -55,6 +55,9 @@ impl<'r, 's> Token<'r, 's> {
|
||||
Object::Entity(_) => Box::new(std::iter::empty()),
|
||||
Object::LatexFragment(_) => Box::new(std::iter::empty()),
|
||||
Object::ExportSnippet(_) => Box::new(std::iter::empty()),
|
||||
Object::FootnoteReference(inner) => {
|
||||
Box::new(inner.definition.iter().map(Token::Object))
|
||||
}
|
||||
},
|
||||
Token::Element(elem) => match elem {
|
||||
Element::Paragraph(inner) => Box::new(inner.children.iter().map(Token::Object)),
|
||||
|
||||
Reference in New Issue
Block a user