Compare value for export block.
This commit is contained in:
@@ -227,7 +227,7 @@ pub(crate) fn export_block<'b, 'g, 'r, 's>(
|
||||
None => None,
|
||||
};
|
||||
|
||||
let (remaining, contents) = parser_with_context!(text_until_exit)(&parser_context)(remaining)?;
|
||||
let (remaining, contents) = content(&parser_context, remaining)?;
|
||||
let (remaining, _end) = lesser_block_end_specialized(&parser_context, remaining)?;
|
||||
|
||||
let source = get_consumed(input, remaining);
|
||||
@@ -237,7 +237,7 @@ pub(crate) fn export_block<'b, 'g, 'r, 's>(
|
||||
source: source.into(),
|
||||
name: get_name(&affiliated_keywords),
|
||||
data: parameters.map(|parameters| Into::<&str>::into(parameters)),
|
||||
contents: contents.into(),
|
||||
contents,
|
||||
},
|
||||
))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user