aboutsummaryrefslogtreecommitdiff
path: root/src/Text/Pandoc/Readers
diff options
context:
space:
mode:
authorAlbert Krewinkel <albert@zeitkraut.de>2019-05-05 14:48:37 +0200
committerAlbert Krewinkel <albert@zeitkraut.de>2019-05-05 14:48:37 +0200
commit33e2d46dbea6ca216b44d2f5d6cf3b74899caef6 (patch)
tree4e70707fb5ce33160b1707f9ffe4e1d64c2041c2 /src/Text/Pandoc/Readers
parent7e7bc3493ef7ca17fbd8746bae8731dfecef60dd (diff)
downloadpandoc-33e2d46dbea6ca216b44d2f5d6cf3b74899caef6.tar.gz
Org reader: prefer plain symbols over math symbols
Symbols like `\alpha` are output plain and unemphasized, not as math. Fixes: #5483
Diffstat (limited to 'src/Text/Pandoc/Readers')
-rw-r--r--src/Text/Pandoc/Readers/Org/Inlines.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Text/Pandoc/Readers/Org/Inlines.hs b/src/Text/Pandoc/Readers/Org/Inlines.hs
index ea52ad6e1..cae590c5f 100644
--- a/src/Text/Pandoc/Readers/Org/Inlines.hs
+++ b/src/Text/Pandoc/Readers/Org/Inlines.hs
@@ -791,7 +791,7 @@ inlineLaTeX = try $ do
cmd <- inlineLaTeXCommand
ils <- (lift . lift) $ parseAsInlineLaTeX cmd
maybe mzero returnF $
- parseAsMath cmd `mplus` parseAsMathMLSym cmd `mplus` ils
+ parseAsMathMLSym cmd `mplus` parseAsMath cmd `mplus` ils
where
parseAsMath :: String -> Maybe Inlines
parseAsMath cs = B.fromList <$> texMathToPandoc cs