Change footnote reference class to Gamma.
This commit is contained in:
parent
facbe716e9
commit
6676012eb1
@ -0,0 +1,3 @@
|
|||||||
|
*[fn:: /abcdef[fn::ghijklmnopqrstuvw]xyz/ r]*
|
||||||
|
|
||||||
|
*[fn:: /abcdef[fn::ghijk *lmnopq* rstuvw]xyz/ r]*
|
@ -42,7 +42,7 @@ fn anonymous_footnote<'b, 'g, 'r, 's>(
|
|||||||
let (remaining, _) = tag_no_case("[fn::")(input)?;
|
let (remaining, _) = tag_no_case("[fn::")(input)?;
|
||||||
let exit_with_depth = footnote_definition_end(remaining.get_bracket_depth());
|
let exit_with_depth = footnote_definition_end(remaining.get_bracket_depth());
|
||||||
let parser_context = ContextElement::ExitMatcherNode(ExitMatcherNode {
|
let parser_context = ContextElement::ExitMatcherNode(ExitMatcherNode {
|
||||||
class: ExitClass::Beta,
|
class: ExitClass::Gamma,
|
||||||
exit_matcher: &exit_with_depth,
|
exit_matcher: &exit_with_depth,
|
||||||
});
|
});
|
||||||
let parser_context = context.with_additional_node(&parser_context);
|
let parser_context = context.with_additional_node(&parser_context);
|
||||||
@ -78,7 +78,7 @@ fn inline_footnote<'b, 'g, 'r, 's>(
|
|||||||
let (remaining, _) = tag(":")(remaining)?;
|
let (remaining, _) = tag(":")(remaining)?;
|
||||||
let exit_with_depth = footnote_definition_end(remaining.get_bracket_depth());
|
let exit_with_depth = footnote_definition_end(remaining.get_bracket_depth());
|
||||||
let parser_context = ContextElement::ExitMatcherNode(ExitMatcherNode {
|
let parser_context = ContextElement::ExitMatcherNode(ExitMatcherNode {
|
||||||
class: ExitClass::Beta,
|
class: ExitClass::Gamma,
|
||||||
exit_matcher: &exit_with_depth,
|
exit_matcher: &exit_with_depth,
|
||||||
});
|
});
|
||||||
let parser_context = context.with_additional_node(&parser_context);
|
let parser_context = context.with_additional_node(&parser_context);
|
||||||
|
Loading…
Reference in New Issue
Block a user