diff --git a/crates/typst-realize/src/lib.rs b/crates/typst-realize/src/lib.rs index c0660af3e..b7a21e789 100644 --- a/crates/typst-realize/src/lib.rs +++ b/crates/typst-realize/src/lib.rs @@ -555,7 +555,6 @@ 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