From 5ac7eb3860ebd3247f6486c227e816894cb8fd91 Mon Sep 17 00:00:00 2001 From: Laurenz Date: Fri, 11 Mar 2022 12:59:55 +0100 Subject: Rename template to content --- src/library/structure/heading.rs | 20 ++++++++--------- src/library/structure/list.rs | 46 ++++++++++++++++++++-------------------- src/library/structure/table.rs | 16 +++++++------- 3 files changed, 41 insertions(+), 41 deletions(-) (limited to 'src/library/structure') diff --git a/src/library/structure/heading.rs b/src/library/structure/heading.rs index a67f4f24..f5565f3c 100644 --- a/src/library/structure/heading.rs +++ b/src/library/structure/heading.rs @@ -8,7 +8,7 @@ pub struct HeadingNode { /// default style, this controls the text size of the heading. pub level: usize, /// The heading's contents. - pub body: Template, + pub body: Content, } #[class] @@ -35,8 +35,8 @@ impl HeadingNode { /// Whether the heading is block-level. pub const BLOCK: Leveled = Leveled::Value(true); - fn construct(_: &mut Context, args: &mut Args) -> TypResult