summaryrefslogtreecommitdiff
path: root/library/src/math/mod.rs
diff options
context:
space:
mode:
Diffstat (limited to 'library/src/math/mod.rs')
-rw-r--r--library/src/math/mod.rs2
1 files changed, 1 insertions, 1 deletions
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::<TextNode>() {
- ctx.layout_text(&node.text())?;
+ ctx.layout_text(node)?;
return Ok(());
}