diff options
| author | Laurenz <laurmaedje@gmail.com> | 2022-05-13 13:52:52 +0200 |
|---|---|---|
| committer | Laurenz <laurmaedje@gmail.com> | 2022-05-13 13:52:52 +0200 |
| commit | 11f1f0818b990be1ed4a16652b7f30bf11159237 (patch) | |
| tree | b52fc6063d8bdec3937ec384cc44ee7a616e51e4 /src/library/math | |
| parent | 3e9c63d685a6ff05a72e5a07d40216ff0ac6ae32 (diff) | |
Pass language to raw show rule
Diffstat (limited to 'src/library/math')
| -rw-r--r-- | src/library/math/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/library/math/mod.rs b/src/library/math/mod.rs index 9709c00c..ad01f28a 100644 --- a/src/library/math/mod.rs +++ b/src/library/math/mod.rs @@ -40,7 +40,7 @@ impl Show for MathNode { Self { formula: self.formula.clone(), ..*self }.pack() } - fn encode(&self) -> Dict { + fn encode(&self, _: StyleChain) -> Dict { dict! { "formula" => Value::Str(self.formula.clone()), "display" => Value::Bool(self.display) |
