aboutsummaryrefslogtreecommitdiff
path: root/test/command
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2021-08-29 10:12:20 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2021-08-29 10:12:20 -0700
commit5dcd4610e2301baf73f96abcd80315be45d41f3e (patch)
treea3d312cb28b62af00b82c0760040155ef88df441 /test/command
parent6180d42434526c4c5137ceb4e7bfa284daaf6089 (diff)
downloadpandoc-5dcd4610e2301baf73f96abcd80315be45d41f3e.tar.gz
Improve asciidoc escaping for `--` in URLs. Closes #7529.
Diffstat (limited to 'test/command')
-rw-r--r--test/command/7529.md7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/command/7529.md b/test/command/7529.md
new file mode 100644
index 000000000..f0c443d73
--- /dev/null
+++ b/test/command/7529.md
@@ -0,0 +1,7 @@
+```
+pandoc -f html -t asciidoc
+<a href="https://example.com/show.cgi?id=hi--there--everyone">https://example.com/show.cgi?id=hi--there--everyone</a>
+^D
+link:++https://example.com/show.cgi?id=hi--there--everyone++[]
+```
+