From 6873ea4745a24ba66db20e39cb23c7c26b341125 Mon Sep 17 00:00:00 2001 From: Laurenz Date: Fri, 18 Jul 2025 15:15:24 +0200 Subject: [PATCH] Don't check depth --- 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 b7a21e789..f80c9dc23 100644 --- a/crates/typst-realize/src/lib.rs +++ b/crates/typst-realize/src/lib.rs @@ -405,7 +405,6 @@ fn visit_show_rules<'a>( let prev_outside = s.outside; s.outside &= content.is::(); s.engine.route.increase(); - s.engine.route.check_show_depth().at(content.span())?; visit_styled(s, realized, Cow::Owned(map), styles)?;