diff options
author | Henrik Tramberend <henrik@tramberend.de> | 2016-01-21 12:44:16 +0100 |
---|---|---|
committer | Henrik Tramberend <henrik@tramberend.de> | 2016-01-21 12:44:16 +0100 |
commit | 556d0c1810af3d1a8cdee309ad7bf95c11423fe9 (patch) | |
tree | 8789392fad99bad65ca4f052d8f9cb0b83d3038e /src/Text/Pandoc | |
parent | 7ea4d17509c3b0e987793d389987b87638fc9d55 (diff) | |
download | pandoc-556d0c1810af3d1a8cdee309ad7bf95c11423fe9.tar.gz |
Markdown writer: Use hyphens for yaml metadata block bottom line
Diffstat (limited to 'src/Text/Pandoc')
-rw-r--r-- | src/Text/Pandoc/Writers/Markdown.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Text/Pandoc/Writers/Markdown.hs b/src/Text/Pandoc/Writers/Markdown.hs index 5a92f3cdf..7b56b3fe2 100644 --- a/src/Text/Pandoc/Writers/Markdown.hs +++ b/src/Text/Pandoc/Writers/Markdown.hs @@ -116,7 +116,7 @@ plainTitleBlock tit auths dat = dat <> cr yamlMetadataBlock :: Value -> Doc -yamlMetadataBlock v = "---" $$ (jsonToYaml v) $$ "..." +yamlMetadataBlock v = "---" $$ (jsonToYaml v) $$ "---" jsonToYaml :: Value -> Doc jsonToYaml (Object hashmap) = |