diff options
-rw-r--r-- | src/Text/Pandoc/Readers/LaTeX.hs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Text/Pandoc/Readers/LaTeX.hs b/src/Text/Pandoc/Readers/LaTeX.hs index 79f5e3594..21bd5de88 100644 --- a/src/Text/Pandoc/Readers/LaTeX.hs +++ b/src/Text/Pandoc/Readers/LaTeX.hs @@ -1940,8 +1940,8 @@ lookupTheoremEnvironment name = do Nothing -> return () return $ space <> B.text (renderDottedNum num) else return mempty - let title = B.strong (B.text (theoremName tspec) <> number - <> optTitle) <> space + let title = B.strong (B.text (theoremName tspec) <> number) + <> optTitle <> space return $ divWith ("", [name], []) $ addTitle title $ walk italicize bs |