aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorAlbert Krewinkel <albert@zeitkraut.de>2021-03-09 18:01:08 +0100
committerAlbert Krewinkel <albert@zeitkraut.de>2021-03-09 18:14:54 +0100
commitb9b2586ed3e9aac9c5ba86127fbf984fb3149844 (patch)
tree1834951682b1a947739bed022c674837207a10c8 /test
parent0515c448592e2b24f79e8a7bd249b396f4f0da62 (diff)
downloadpandoc-b9b2586ed3e9aac9c5ba86127fbf984fb3149844.tar.gz
Org writer: prevent unintended creation of ordered list items
Adjust line wrapping if default wrapping would cause a line to be read as an ordered list item. Fixes #7132
Diffstat (limited to 'test')
-rw-r--r--test/command/7132.md10
1 files changed, 10 insertions, 0 deletions
diff --git a/test/command/7132.md b/test/command/7132.md
new file mode 100644
index 000000000..30d4c0b3b
--- /dev/null
+++ b/test/command/7132.md
@@ -0,0 +1,10 @@
+```
+% pandoc -f markdown -t org --columns=72
+- This line has exactly the wrong number of characters before the number 5.
+- Long line ending with a number (this time it is in parentheses and a 23)
+^D
+- This line has exactly the wrong number of characters before the
+ number 5.
+- Long line ending with a number (this time it is in parentheses and
+ a 23)
+```