diff options
author | John MacFarlane <jgm@berkeley.edu> | 2016-02-20 21:43:15 -0800 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2016-02-20 21:43:15 -0800 |
commit | 649cfb61b85ee4c512365afada0c056c3f8b7148 (patch) | |
tree | 25b7aecd623584f829a5e87c4bc0f5bfd8a36e68 /src/Text/Pandoc | |
parent | e369e60fb457df56cf81a84b5114818dfb023144 (diff) | |
parent | 556d0c1810af3d1a8cdee309ad7bf95c11423fe9 (diff) | |
download | pandoc-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.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 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) = |