From 6be8f4e953b6ba9a7af1b707ef3902f8a5b7b8e2 Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Mon, 18 Mar 2019 16:53:36 -0700 Subject: Improved fix to #5340 and added test. --- test/command/5340.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 test/command/5340.md (limited to 'test/command') diff --git a/test/command/5340.md b/test/command/5340.md new file mode 100644 index 000000000..416f0bd6b --- /dev/null +++ b/test/command/5340.md @@ -0,0 +1,14 @@ +``` +% pandoc -f html -t latex --wrap=preserve +https://example.com/foo-bar +https://example.com/foo--bar +https://example.com/foo-bar +https://example.com/foo--bar +https://example.com/foo%2D%2Dbar +^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} +``` -- cgit v1.2.3