summaryrefslogtreecommitdiff
path: root/crates
diff options
context:
space:
mode:
authorMalo <57839069+MDLC01@users.noreply.github.com>2024-02-20 13:59:29 +0100
committerGitHub <noreply@github.com>2024-02-20 12:59:29 +0000
commit6402bdacc7534ec9d893a84a2c4fd9c753d4a649 (patch)
tree7908161081aaab6a4a28f48037eb97f655df42a8 /crates
parent196c144d8f108634b41b54d0d0c10317f154d197 (diff)
Always attach primes as scripts by default (#3437)
Diffstat (limited to 'crates')
-rw-r--r--crates/typst/src/eval/math.rs2
1 files changed, 1 insertions, 1 deletions
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() {