summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2017-03-26 20:41:09 +0200
committerJohn MacFarlane <jgm@berkeley.edu>2017-03-26 20:41:09 +0200
commit358dfba8f4eba45fdfdfad2c117de99df8b45bc4 (patch)
tree2fb933fd39485bbd410f912932bbce4146b8454a /test
parent51ab1bf2700f23e881aa06c638da4d3606fa22a4 (diff)
MediaWiki writer: don't softbreak lines inside list items.
Closes #3531.
Diffstat (limited to 'test')
-rw-r--r--test/command/3531.md19
1 files changed, 19 insertions, 0 deletions
diff --git a/test/command/3531.md b/test/command/3531.md
new file mode 100644
index 000000000..d71cbadbd
--- /dev/null
+++ b/test/command/3531.md
@@ -0,0 +1,19 @@
+```
+% pandoc -t mediawiki --wrap=preserve
+* This is a list item.
+* This is a list item in Markdown. It is
+ continued in the next line.
+ * It has a sub-item.
+* This is the next list item.
+
+A paragraph can span multiple lines
+without being broken into pieces.
+^D
+* This is a list item.
+* This is a list item in Markdown. It is continued in the next line.
+** It has a sub-item.
+* This is the next list item.
+
+A paragraph can span multiple lines
+without being broken into pieces.
+```