aboutsummaryrefslogtreecommitdiff
path: root/test/command
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2019-08-27 10:15:00 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2019-08-27 10:15:00 -0700
commit167fc4bc8732b72cccda0c37139fee3ab94b05cb (patch)
tree268d1a3331f560d046cd67a2f58c838b3b63b069 /test/command
parent7c03c26d58f092b082f815d8a7f3e09f8e6abd28 (diff)
downloadpandoc-167fc4bc8732b72cccda0c37139fee3ab94b05cb.tar.gz
Markdown reader: Headers: don't parse content over newline boundary.
Closes #5714.
Diffstat (limited to 'test/command')
-rw-r--r--test/command/5714.md13
1 files changed, 13 insertions, 0 deletions
diff --git a/test/command/5714.md b/test/command/5714.md
new file mode 100644
index 000000000..48e25c1a2
--- /dev/null
+++ b/test/command/5714.md
@@ -0,0 +1,13 @@
+```
+% pandoc -t native
+# hi _a
+b_
+
+# hi _c
+c
+^D
+[Header 1 ("hi-_a",[],[]) [Str "hi",Space,Str "_a"]
+,Para [Str "b_"]
+,Header 1 ("hi-_c",[],[]) [Str "hi",Space,Str "_c"]
+,Para [Str "c"]]
+```