aboutsummaryrefslogtreecommitdiff
path: root/test/command
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2017-06-12 09:16:05 +0200
committerJohn MacFarlane <jgm@berkeley.edu>2017-06-12 09:23:30 +0200
commit8a000e3ecc330ff8a4953ebe8c7da9a54eca5c58 (patch)
tree6c05a38c8c31fc78bbbdc26cd3fec50c42c244cf /test/command
parentb466152d6185750438f7355701ae68186692d65b (diff)
downloadpandoc-8a000e3ecc330ff8a4953ebe8c7da9a54eca5c58.tar.gz
Markdown writer: don't allow soft break in header.
Closes #3736.
Diffstat (limited to 'test/command')
-rw-r--r--test/command/3736.md25
1 files changed, 25 insertions, 0 deletions
diff --git a/test/command/3736.md b/test/command/3736.md
new file mode 100644
index 000000000..b66e0a359
--- /dev/null
+++ b/test/command/3736.md
@@ -0,0 +1,25 @@
+```
+% pandoc --wrap=preserve -f html -t markdown
+<h2>hi
+there</h2>
+^D
+hi there
+--------
+```
+
+```
+% pandoc --wrap=preserve -f html -t markdown
+<h2>hi <em>there
+again</em></h2>
+^D
+hi *there again*
+----------------
+```
+
+```
+% pandoc --wrap=preserve -f html -t markdown
+<h2>hi<br>there</h2>
+^D
+hi there
+--------
+```