mirror of
https://github.com/typst/typst
synced 2025-07-26 13:57:53 +08:00
parent
e0eaf269d4
commit
3a96fe70d8
@ -131,7 +131,7 @@ impl<'a> HeadingNode<'a> {
|
||||
// Prepend the numbering to title if it exists
|
||||
let title = match &self.element.numbering_displayed {
|
||||
// The space should be a `h(0.3em)`, but only plain-texts are supported here.
|
||||
Some(ref num) => format!("{num} {title}"),
|
||||
Some(num) => format!("{num} {title}"),
|
||||
None => title,
|
||||
};
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user