From 6402bdacc7534ec9d893a84a2c4fd9c753d4a649 Mon Sep 17 00:00:00 2001 From: Malo <57839069+MDLC01@users.noreply.github.com> Date: Tue, 20 Feb 2024 13:59:29 +0100 Subject: Always attach primes as scripts by default (#3437) --- crates/typst/src/eval/math.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'crates') diff --git a/crates/typst/src/eval/math.rs b/crates/typst/src/eval/math.rs index 62314fc2..0e5e0eef 100644 --- a/crates/typst/src/eval/math.rs +++ b/crates/typst/src/eval/math.rs @@ -55,7 +55,7 @@ impl Eval for ast::MathAttach<'_> { if let Some(expr) = self.top() { elem.push_t(Some(expr.eval_display(vm)?)); } else if let Some(primes) = self.primes() { - elem.push_t(Some(primes.eval(vm)?)); + elem.push_tr(Some(primes.eval(vm)?)); } if let Some(expr) = self.bottom() { -- cgit v1.2.3