aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/Text/Pandoc/Writers/Markdown.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Text/Pandoc/Writers/Markdown.hs b/src/Text/Pandoc/Writers/Markdown.hs
index 74662083a..bce1c37fa 100644
--- a/src/Text/Pandoc/Writers/Markdown.hs
+++ b/src/Text/Pandoc/Writers/Markdown.hs
@@ -125,7 +125,7 @@ mmdTitleBlock (Context hashmap) =
(k', SimpleVal x)
| isEmpty x -> empty
| otherwise -> k' <> ":" <> space <>
- nest 2 (chomp (removeBlankLines x))
+ nest 2 (removeBlankLines (chomp x))
_ -> empty
removeBlankLines BlankLines{} = cr <> text "." <> cr
removeBlankLines (Concat x y) = removeBlankLines x <>