diff options
| author | Laurenz <laurmaedje@gmail.com> | 2023-03-12 12:53:50 +0100 |
|---|---|---|
| committer | Laurenz <laurmaedje@gmail.com> | 2023-03-12 13:20:36 +0100 |
| commit | ad05ba59256a67f429b71a8aba2cd92ed2cafac7 (patch) | |
| tree | 019ccf26f7308d907c042624ccbb647f76d3491b /library/src/math/mod.rs | |
| parent | 2720a44b965d29e9c3453c732e38554fdb6413bb (diff) | |
Spans in math
Diffstat (limited to 'library/src/math/mod.rs')
| -rw-r--r-- | library/src/math/mod.rs | 2 |
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(()); } |
