summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index e94ee66..87993c0 100644
--- a/Makefile
+++ b/Makefile
@@ -6,7 +6,7 @@ source_basename = EUT/2nd-edition
re_blockquote = s|\n*(</?blockquote>)\n*|\n$$1\n|g
# work around modest URL parsing <https://github.com/jgm/pandoc/issues/1838>
-re_urlencode = s|\bhttp[^\s\"]+?\K([-=]+)|uri_escape($$1, "-=")|eg
+re_urlencode = s|\bhttps?://[^\s/\|}]+[^\s\"]+?\K([-=]+)|uri_escape($$1, "-=")|eg
templates = template.tex header.tex before.tex after.tex