aboutsummaryrefslogtreecommitdiff
path: root/test/command
diff options
context:
space:
mode:
Diffstat (limited to 'test/command')
-rw-r--r--test/command/4832.md21
1 files changed, 21 insertions, 0 deletions
diff --git a/test/command/4832.md b/test/command/4832.md
new file mode 100644
index 000000000..9ba40804c
--- /dev/null
+++ b/test/command/4832.md
@@ -0,0 +1,21 @@
+```
+% pandoc -f latex -t native
+\url{http://example.com/foo%20bar.htm}
+^D
+[Para [Link ("",[],[]) [Str "http://example.com/foo%20bar.htm"] ("http://example.com/foo%20bar.htm","")]]
+```
+
+```
+% pandoc -f latex -t native
+\url{http://example.com/foo{bar}.htm}
+^D
+[Para [Link ("",[],[]) [Str "http://example.com/foo{bar}.htm"] ("http://example.com/foo{bar}.htm","")]]
+```
+
+```
+% pandoc -f latex -t native
+\href{http://example.com/foo%20bar}{Foobar}
+^D
+[Para [Link ("",[],[]) [Str "Foobar"] ("http://example.com/foo%20bar","")]]
+```
+