aboutsummaryrefslogtreecommitdiff
path: root/test/command
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2020-12-30 21:31:28 -0800
committerJohn MacFarlane <jgm@berkeley.edu>2020-12-30 21:31:28 -0800
commit23f964b9076f9795b00e740d20feebeb1d6d91db (patch)
treee9abe0d2573917e13e159fb2888d6993ac3dbf20 /test/command
parent0782d5882c8c04fbdffcb7026457b3cc79150692 (diff)
downloadpandoc-23f964b9076f9795b00e740d20feebeb1d6d91db.tar.gz
Mediawiki reader: allow space around storng/emph delimiters.
Closes #6993.
Diffstat (limited to 'test/command')
-rw-r--r--test/command/6993.md21
1 files changed, 21 insertions, 0 deletions
diff --git a/test/command/6993.md b/test/command/6993.md
new file mode 100644
index 000000000..b7f7f5384
--- /dev/null
+++ b/test/command/6993.md
@@ -0,0 +1,21 @@
+```
+% pandoc -f mediawiki -t native
+'''Should be bold '''
+^D
+[Para [Strong [Str "Should",Space,Str "be",Space,Str "bold"]]]
+```
+
+```
+% pandoc -f mediawiki -t native
+''' Should be bold'''
+^D
+[Para [Strong [Str "Should",Space,Str "be",Space,Str "bold"]]]
+```
+
+```
+% pandoc -f mediawiki -t native
+'' Should be emph ''
+^D
+[Para [Emph [Str "Should",Space,Str "be",Space,Str "emph"]]]
+```
+