aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorMauro Bieg <mb21@users.noreply.github.com>2018-07-12 19:37:37 +0200
committerJohn MacFarlane <jgm@berkeley.edu>2018-07-12 19:37:37 +0200
commit5809d5bef2de59757fc9cd72c6508b8cfeeae186 (patch)
tree3a54ea042dc552316983907391ca136d39fcc473 /test
parente56a1a3088f3761561ac198dddf1fb6bc7d662ca (diff)
downloadpandoc-5809d5bef2de59757fc9cd72c6508b8cfeeae186.tar.gz
AsciiDoc Writer: escape square brackets at start of line (#4708)
closes #4545
Diffstat (limited to 'test')
-rw-r--r--test/command/4545.md20
1 files changed, 20 insertions, 0 deletions
diff --git a/test/command/4545.md b/test/command/4545.md
new file mode 100644
index 000000000..e5fc6e244
--- /dev/null
+++ b/test/command/4545.md
@@ -0,0 +1,20 @@
+```
+% pandoc -t asciidoc
+Test 1
+
+[my text]
+
+Test 2
+^D
+Test 1
+
+{empty}[my text]
+
+Test 2
+```
+```
+% pandoc -t asciidoc
+4\. foo
+^D
+{empty}4. foo
+```