aboutsummaryrefslogtreecommitdiff
path: root/src/Text/Pandoc/Readers/LaTeX/Parsing.hs
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2020-10-08 22:47:32 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2020-10-08 22:47:32 -0700
commit9a6c42590f42601329db3fb42296db1a04ee3ff5 (patch)
tree83ca50c1cb8f3e9ae916dc139460ef4d8f0409c6 /src/Text/Pandoc/Readers/LaTeX/Parsing.hs
parent307ea358cbaef5fe1104a9ed587dde6119df3a7d (diff)
downloadpandoc-9a6c42590f42601329db3fb42296db1a04ee3ff5.tar.gz
LaTeX reader: Fix parsing of "show name" in newtheorem.
Previously we were just treating it as a string and ignoring accents and formatting. See #6734.
Diffstat (limited to 'src/Text/Pandoc/Readers/LaTeX/Parsing.hs')
-rw-r--r--src/Text/Pandoc/Readers/LaTeX/Parsing.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Text/Pandoc/Readers/LaTeX/Parsing.hs b/src/Text/Pandoc/Readers/LaTeX/Parsing.hs
index c349fe3b1..6d6d4f3ec 100644
--- a/src/Text/Pandoc/Readers/LaTeX/Parsing.hs
+++ b/src/Text/Pandoc/Readers/LaTeX/Parsing.hs
@@ -122,7 +122,7 @@ data TheoremStyle =
data TheoremSpec =
TheoremSpec
- { theoremName :: Text
+ { theoremName :: Inlines
, theoremStyle :: TheoremStyle
, theoremSeries :: Maybe Text
, theoremSyncTo :: Maybe Text