summaryrefslogtreecommitdiff
path: root/test/command
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2023-08-23 12:37:49 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2023-08-23 12:37:49 -0700
commitd21a9cd7f80cedb18d97cb92163ae7ec0f3a6237 (patch)
treefaf70256a8b71bcba012353a6f6e52cfd4b4c281 /test/command
parent7c4354646b57aa0d505dc955f856b8c3443c8db4 (diff)
Also escape % in URLs.
This improves the fix to #9017 in commit 7c4354646b57aa0d505dc955f856b8c3443c8db4 An alternative would be to avoid backslash escaping `#` and `%` in URLs, and instead always add `fragile` to the slide environment.
Diffstat (limited to 'test/command')
-rw-r--r--test/command/5340.md6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/command/5340.md b/test/command/5340.md
index dbf9c1b9a..416f0bd6b 100644
--- a/test/command/5340.md
+++ b/test/command/5340.md
@@ -8,7 +8,7 @@
^D
\url{https://example.com/foo-bar}
\url{https://example.com/foo--bar}
-\url{https://example.com/foo%2Dbar}
-\url{https://example.com/foo%2D%2Dbar}
-\url{https://example.com/foo%2D%2Dbar}
+\url{https://example.com/foo\%2Dbar}
+\url{https://example.com/foo\%2D\%2Dbar}
+\url{https://example.com/foo\%2D\%2Dbar}
```