aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2020-10-08 21:27:17 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2020-10-08 21:27:52 -0700
commitf19286cf120f259c51a89b1b3643d437ede70a94 (patch)
tree031e8b571d46865bf0f878d25c94cbb09f1ddf40 /test
parentdd3c4000ff4941d3ce943b4d18b8965d94496de1 (diff)
downloadpandoc-f19286cf120f259c51a89b1b3643d437ede70a94.tar.gz
DocBook reader: don't squelch space at end of emphasis element.
Instead, include it after the emphasis. Closes #6719. Same fix was made for other inline elements, e.g. strikethrough.
Diffstat (limited to 'test')
-rw-r--r--test/command/6719.md8
1 files changed, 8 insertions, 0 deletions
diff --git a/test/command/6719.md b/test/command/6719.md
new file mode 100644
index 000000000..96c97b365
--- /dev/null
+++ b/test/command/6719.md
@@ -0,0 +1,8 @@
+```
+% pandoc -f docbook -t native
+<para>
+<emphasis>emphasized </emphasis>text
+</para>
+^D
+[Para [Emph [Str "emphasized"],Space,Str "text"]]
+```