aboutsummaryrefslogtreecommitdiff
path: root/test/command
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2021-05-31 21:34:51 -0600
committerJohn MacFarlane <jgm@berkeley.edu>2021-05-31 21:34:51 -0600
commit62f46b3995425c9a3ec87cba0eb8a4d736adec07 (patch)
tree2f50499f158097e353f8790d99c350211d7f14ed /test/command
parentbe144dd7de081d10bcc7a4d77b98c1b879f7995d (diff)
downloadpandoc-62f46b3995425c9a3ec87cba0eb8a4d736adec07.tar.gz
Fix regression with commonmark/gfm yaml metdata block parsing.
A regression in 2.14 led to the document body being omitted after YAML metadata in some cases. This is now fixed. Closes #7339.
Diffstat (limited to 'test/command')
-rw-r--r--test/command/7339.md11
1 files changed, 11 insertions, 0 deletions
diff --git a/test/command/7339.md b/test/command/7339.md
new file mode 100644
index 000000000..9697c1c32
--- /dev/null
+++ b/test/command/7339.md
@@ -0,0 +1,11 @@
+```
+% pandoc -f gfm -s -t native
+---
+title: Test
+---
+
+Hi
+^D
+Pandoc (Meta {unMeta = fromList [("title",MetaInlines [Str "Test"])]})
+[Para [Str "Hi"]]
+```