aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2017-12-18 16:31:32 -0800
committerJohn MacFarlane <jgm@berkeley.edu>2017-12-18 16:33:52 -0800
commitc0cc9270cbfad719d4cd3b8c57060cb06d41fe78 (patch)
tree983da10ce9df4fcef3151c84a7cc90ac6e0cd57c /test
parent70dc5834da16680caedef4727b1d7f335f0b5427 (diff)
downloadpandoc-c0cc9270cbfad719d4cd3b8c57060cb06d41fe78.tar.gz
Org writer: don't allow fn refs to wrap to beginning of line.
Otherwise they can be interpreted as footnote definitions. Closes #4171.
Diffstat (limited to 'test')
-rw-r--r--test/command/4171.md11
1 files changed, 11 insertions, 0 deletions
diff --git a/test/command/4171.md b/test/command/4171.md
new file mode 100644
index 000000000..649263638
--- /dev/null
+++ b/test/command/4171.md
@@ -0,0 +1,11 @@
+```
+% pandoc -f org -t org
+Aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa [fn:1] a
+
+[fn:1] b
+^D
+Aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa [fn:1]
+a
+
+[fn:1] b
+```