aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2017-06-01 12:30:58 +0200
committerJohn MacFarlane <jgm@berkeley.edu>2017-06-01 12:30:58 +0200
commitc366fab2cba3238a4d262fefdfe03d8acf813cf1 (patch)
treee5b07e1b1b02a853975ab5ba3e1f68d44a6b63cf /test
parent9396f1fb6766cc4b08fb7b7c97ef2c02e9f0f700 (diff)
downloadpandoc-c366fab2cba3238a4d262fefdfe03d8acf813cf1.tar.gz
Markdown writer: Avoid inline surround-marking with empty content.
E.g. we don't want `<strong></strong>` to become `****`. Similarly for emphasis, super/subscript, strikeout. Closes #3715.
Diffstat (limited to 'test')
-rw-r--r--test/command/3715.md15
1 files changed, 15 insertions, 0 deletions
diff --git a/test/command/3715.md b/test/command/3715.md
new file mode 100644
index 000000000..9d74779cb
--- /dev/null
+++ b/test/command/3715.md
@@ -0,0 +1,15 @@
+```
+% pandoc -t markdown -f html --wrap=preserve
+x<em></em>x
+y<strong></strong>y
+z<sup></sup>z
+w<sub></sub>w
+q<s></s>q
+^D
+xx
+yy
+zz
+ww
+qq
+```
+