Fix footnote reference type.
This commit is contained in:
@@ -54,6 +54,7 @@ use crate::types::ExportSnippet;
|
||||
use crate::types::FixedWidthArea;
|
||||
use crate::types::FootnoteDefinition;
|
||||
use crate::types::FootnoteReference;
|
||||
use crate::types::FootnoteReferenceType;
|
||||
use crate::types::GetStandardProperties;
|
||||
use crate::types::Heading;
|
||||
use crate::types::HorizontalRule;
|
||||
@@ -3323,7 +3324,10 @@ fn compare_footnote_reference<'b, 's>(
|
||||
),
|
||||
(
|
||||
EmacsField::Required(":type"),
|
||||
|_| Some("inline"),
|
||||
|r| Some(match r.get_type() {
|
||||
FootnoteReferenceType::Standard => "standard",
|
||||
FootnoteReferenceType::Inline => "inline",
|
||||
}),
|
||||
compare_property_unquoted_atom
|
||||
)
|
||||
)? {
|
||||
|
||||
Reference in New Issue
Block a user