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)?;