Wrap inline footnote definitions in a paragraph tag.

This is to match the behavior of the upstream org html exporter.
This commit is contained in:
Tom Alexander
2023-12-21 18:09:43 -05:00
parent 01b55b7256
commit 4fb08bc7d0
2 changed files with 24 additions and 2 deletions

View File

@@ -29,3 +29,16 @@ intermediate!(
})
}
);
impl IParagraph {
pub(crate) async fn artificial<'orig, 'parse>(
_intermediate_context: crate::intermediate::IntermediateContext<'orig, 'parse>,
children: Vec<IObject>,
post_blank: organic::types::PostBlank,
) -> Result<IParagraph, CustomError> {
Ok(IParagraph {
children,
post_blank,
})
}
}