diff options
author | Albert Krewinkel <albert@zeitkraut.de> | 2019-05-05 14:48:37 +0200 |
---|---|---|
committer | Albert Krewinkel <albert@zeitkraut.de> | 2019-05-05 14:48:37 +0200 |
commit | 33e2d46dbea6ca216b44d2f5d6cf3b74899caef6 (patch) | |
tree | 4e70707fb5ce33160b1707f9ffe4e1d64c2041c2 /src/Text/Pandoc/Readers | |
parent | 7e7bc3493ef7ca17fbd8746bae8731dfecef60dd (diff) | |
download | pandoc-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.hs | 2 |
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 |