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