summaryrefslogtreecommitdiff
path: root/src/library/math
diff options
context:
space:
mode:
Diffstat (limited to 'src/library/math')
-rw-r--r--src/library/math/mod.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/library/math/mod.rs b/src/library/math/mod.rs
index 7b4998ca..9709c00c 100644
--- a/src/library/math/mod.rs
+++ b/src/library/math/mod.rs
@@ -36,6 +36,10 @@ impl MathNode {
}
impl Show for MathNode {
+ fn unguard(&self, _: Selector) -> ShowNode {
+ Self { formula: self.formula.clone(), ..*self }.pack()
+ }
+
fn encode(&self) -> Dict {
dict! {
"formula" => Value::Str(self.formula.clone()),