From ad05ba59256a67f429b71a8aba2cd92ed2cafac7 Mon Sep 17 00:00:00 2001 From: Laurenz Date: Sun, 12 Mar 2023 12:53:50 +0100 Subject: Spans in math --- library/src/math/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'library/src/math/mod.rs') diff --git a/library/src/math/mod.rs b/library/src/math/mod.rs index c11bea79..0cc7f43c 100644 --- a/library/src/math/mod.rs +++ b/library/src/math/mod.rs @@ -264,7 +264,7 @@ impl LayoutMath for Content { } if let Some(node) = self.to::() { - ctx.layout_text(&node.text())?; + ctx.layout_text(node)?; return Ok(()); } -- cgit v1.2.3