git.iko.soy/typeable/pandoc
on master help sign in
Merge pull request #2668 from monofon/fix/yaml-metadata-block-bottom-line
649cfb6John MacFarlane
src/Text/Pandoc/Writers/Markdown.hs+1−1
@@ -117,7 +117,7 @@ plainTitleBlock tit auths dat =
117 dat <> cr
117 dat <> cr
118
118
119yamlMetadataBlock :: Value -> Doc
119yamlMetadataBlock :: Value -> Doc
120−yamlMetadataBlock v = "---" $$ (jsonToYaml v) $$ "..."
120+yamlMetadataBlock v = "---" $$ (jsonToYaml v) $$ "---"
121
121
122jsonToYaml :: Value -> Doc
122jsonToYaml :: Value -> Doc
123jsonToYaml (Object hashmap) =
123jsonToYaml (Object hashmap) =
tests/writer.markdown+1−1
@@ -4,7 +4,7 @@ author:
4- Anonymous
4- Anonymous
5date: 'July 17, 2006'
5date: 'July 17, 2006'
6title: Pandoc Test Suite
6title: Pandoc Test Suite
7−...
7+---
8
8
9This is a set of tests for pandoc. Most of them are adapted from John Gruber’s
9This is a set of tests for pandoc. Most of them are adapted from John Gruber’s
10markdown test suite.
10markdown test suite.