mirror of
https://github.com/typst/typst
synced 2025-07-28 14:57:54 +08:00
Materialize twice
This commit is contained in:
parent
4163fd59a6
commit
5cf25874bc
@ -555,6 +555,7 @@ fn prepare(
|
||||
|
||||
// Copy style chain fields into the element itself, so that they are
|
||||
// available in rules.
|
||||
elem.clone().materialize(styles.chain(map));
|
||||
elem.materialize(styles.chain(map));
|
||||
|
||||
// If the element is locatable, create start and end tags to be able to find
|
||||
|
Loading…
x
Reference in New Issue
Block a user