diff options
author | John MacFarlane <jgm@berkeley.edu> | 2020-10-08 22:47:32 -0700 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2020-10-08 22:47:32 -0700 |
commit | 9a6c42590f42601329db3fb42296db1a04ee3ff5 (patch) | |
tree | 83ca50c1cb8f3e9ae916dc139460ef4d8f0409c6 /src/Text/Pandoc/Readers/LaTeX/Parsing.hs | |
parent | 307ea358cbaef5fe1104a9ed587dde6119df3a7d (diff) | |
download | pandoc-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.hs | 2 |
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 |