From 673fe6ffb7ac919641a03208e4d7f154dd56dcdc Mon Sep 17 00:00:00 2001 From: Laurenz Date: Fri, 18 Jul 2025 15:16:46 +0200 Subject: [PATCH] Revert "Materialize twice" This reverts commit c9e590049b8e502163fea124e9a9f432ad651778. --- crates/typst-realize/src/lib.rs | 1 - 1 file changed, 1 deletion(-) 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