diff options
| author | Leedehai <18319900+Leedehai@users.noreply.github.com> | 2024-08-05 06:04:35 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-08-05 10:04:35 +0000 |
| commit | 1f8128111825410fdfcea056448fb37fe92a589e (patch) | |
| tree | 34693f7fe3b3565d2acf93aeae21c03513b9b134 /crates | |
| parent | d06a26e3d868a5e80686f692fba8e5bbd5104922 (diff) | |
Fix the show rule effect for bibliography heading level (#4622)
Diffstat (limited to 'crates')
| -rw-r--r-- | crates/typst/src/model/bibliography.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/typst/src/model/bibliography.rs b/crates/typst/src/model/bibliography.rs index ed593d45..71616616 100644 --- a/crates/typst/src/model/bibliography.rs +++ b/crates/typst/src/model/bibliography.rs @@ -217,7 +217,7 @@ impl Show for Packed<BibliographyElem> { }) { seq.push( HeadingElem::new(title) - .with_level(Smart::Custom(NonZeroUsize::ONE)) + .with_depth(NonZeroUsize::ONE) .pack() .spanned(self.span()), ); |
