summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2014-12-26 06:52:33 +0100
committerJonas Smedegaard <dr@jones.dk>2014-12-26 06:52:33 +0100
commit3aaf0d6b4344c8d57136c647678393f8f64a62ff (patch)
treec68c103c44013bdeb2b2697888e031daaeeab27a
parent68f939390e01c5edc49c59b8965f3c33eda9f0f3 (diff)
Expand workaround for modest URL parsing to include "=".
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 43e8607..f85853a 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|\bhttp[^\s\"]+?\K([-=]+)|uri_escape($$1, "-=")|eg
templates = template.tex header.tex before.tex after.tex