summaryrefslogtreecommitdiff
path: root/library/src/meta/heading.rs
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2023-03-12 12:53:50 +0100
committerLaurenz <laurmaedje@gmail.com>2023-03-12 13:20:36 +0100
commitad05ba59256a67f429b71a8aba2cd92ed2cafac7 (patch)
tree019ccf26f7308d907c042624ccbb647f76d3491b /library/src/meta/heading.rs
parent2720a44b965d29e9c3453c732e38554fdb6413bb (diff)
Spans in math
Diffstat (limited to 'library/src/meta/heading.rs')
-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)