summaryrefslogtreecommitdiff
path: root/src/library/math
diff options
context:
space:
mode:
Diffstat (limited to 'src/library/math')
-rw-r--r--src/library/math/mod.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/library/math/mod.rs b/src/library/math/mod.rs
index 1eed89b1..81593c4f 100644
--- a/src/library/math/mod.rs
+++ b/src/library/math/mod.rs
@@ -43,7 +43,7 @@ impl Show for MathNode {
fn encode(&self, _: StyleChain) -> Dict {
dict! {
- "formula" => Value::Str(self.formula.v.clone()),
+ "formula" => Value::Str(self.formula.v.clone().into()),
"display" => Value::Bool(self.display)
}
}