summaryrefslogtreecommitdiff
path: root/library/src/meta
diff options
context:
space:
mode:
Diffstat (limited to 'library/src/meta')
-rw-r--r--library/src/meta/heading.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/library/src/meta/heading.rs b/library/src/meta/heading.rs
index e82f80c6..47047927 100644
--- a/library/src/meta/heading.rs
+++ b/library/src/meta/heading.rs
@@ -107,6 +107,7 @@ impl Synthesize for HeadingNode {
let node = self
.clone()
+ .with_level(self.level(styles))
.with_outlined(self.outlined(styles))
.with_numbers(numbering.is_some().then(|| counter.take()))
.with_numbering(numbering)