summaryrefslogtreecommitdiff
path: root/src/Text
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2024-01-05 22:09:36 -0800
committerJohn MacFarlane <jgm@berkeley.edu>2024-01-05 22:09:36 -0800
commit9f58a552800b52def52ce2a69c5e7eb8269e4d5b (patch)
tree1fc80f37c79a003febbaa25f163672af2bd193ec /src/Text
parente24002ed7507c8f7f391db16e5c54acaeba532db (diff)
Typst reader: fix handling of `\overline`.
Due to a typo, it was being incorrectly rendered as an `\underset`. Closes #9294.
Diffstat (limited to 'src/Text')
-rw-r--r--src/Text/Pandoc/Readers/Typst/Math.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Text/Pandoc/Readers/Typst/Math.hs b/src/Text/Pandoc/Readers/Typst/Math.hs
index e1c584675..fdd6771a8 100644
--- a/src/Text/Pandoc/Readers/Typst/Math.hs
+++ b/src/Text/Pandoc/Readers/Typst/Math.hs
@@ -175,7 +175,7 @@ handleMath tok =
<$> (getField "body" fields >>= pMathGrouped)
<*> pure (ESymbol TUnder "_")
Elt "math.overline" _ fields ->
- EUnder False
+ EOver False
<$> (getField "body" fields >>= pMathGrouped)
<*> pure (ESymbol TOver "\175")
Elt "math.underbrace" _ fields -> do