aboutsummaryrefslogtreecommitdiff
path: root/src/Text/Pandoc
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2016-02-20 21:43:15 -0800
committerJohn MacFarlane <jgm@berkeley.edu>2016-02-20 21:43:15 -0800
commit649cfb61b85ee4c512365afada0c056c3f8b7148 (patch)
tree25b7aecd623584f829a5e87c4bc0f5bfd8a36e68 /src/Text/Pandoc
parente369e60fb457df56cf81a84b5114818dfb023144 (diff)
parent556d0c1810af3d1a8cdee309ad7bf95c11423fe9 (diff)
downloadpandoc-649cfb61b85ee4c512365afada0c056c3f8b7148.tar.gz
Merge pull request #2668 from monofon/fix/yaml-metadata-block-bottom-line
Markdown writer: Use hyphens for yaml metadata block bottom line
Diffstat (limited to 'src/Text/Pandoc')
-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 4c4675524..ce993093c 100644
--- a/src/Text/Pandoc/Writers/Markdown.hs
+++ b/src/Text/Pandoc/Writers/Markdown.hs
@@ -117,7 +117,7 @@ plainTitleBlock tit auths dat =
dat <> cr
yamlMetadataBlock :: Value -> Doc
-yamlMetadataBlock v = "---" $$ (jsonToYaml v) $$ "..."
+yamlMetadataBlock v = "---" $$ (jsonToYaml v) $$ "---"
jsonToYaml :: Value -> Doc
jsonToYaml (Object hashmap) =