Get post blank for footnote references.
This commit is contained in:
@@ -82,6 +82,7 @@ fn anonymous_footnote<'b, 'g, 'r, 's>(
|
||||
FootnoteReference {
|
||||
source: source.into(),
|
||||
contents: Some(contents.into()),
|
||||
post_blank: _trailing_whitespace.map(Into::<&str>::into),
|
||||
label: None,
|
||||
definition: children,
|
||||
},
|
||||
@@ -130,6 +131,7 @@ fn inline_footnote<'b, 'g, 'r, 's>(
|
||||
FootnoteReference {
|
||||
source: source.into(),
|
||||
contents: Some(contents.into()),
|
||||
post_blank: _trailing_whitespace.map(Into::<&str>::into),
|
||||
label: Some(label_contents.into()),
|
||||
definition: children,
|
||||
},
|
||||
@@ -155,6 +157,7 @@ fn footnote_reference_only<'b, 'g, 'r, 's>(
|
||||
FootnoteReference {
|
||||
source: source.into(),
|
||||
contents: None,
|
||||
post_blank: _trailing_whitespace.map(Into::<&str>::into),
|
||||
label: Some(label_contents.into()),
|
||||
definition: Vec::with_capacity(0),
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user