diff options
author | Jonas Smedegaard <dr@jones.dk> | 2014-12-28 04:18:30 +0100 |
---|---|---|
committer | Jonas Smedegaard <dr@jones.dk> | 2014-12-28 04:23:06 +0100 |
commit | 33d10b0888f498d379ca9a9149ac2c33703e46bf (patch) | |
tree | bab0c74a2e79ec16ae7a0d31323620f930a4ceef /Makefile | |
parent | a93fa74e5d762a9854820cfc66c9d628fbb6b803 (diff) |
Fix URI-escape only path (not host part).
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |