From 4d9956cf658d7a970654ae3baf23ad995e287525 Mon Sep 17 00:00:00 2001 From: Frédéric Guillot Date: Thu, 2 Jan 2020 11:06:57 -0800 Subject: Make sure external URLs are not encoded incorrectly by Go template engine --- template/html/entry.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'template/html/entry.html') diff --git a/template/html/entry.html b/template/html/entry.html index df5882b..cbf85f6 100644 --- a/template/html/entry.html +++ b/template/html/entry.html @@ -4,7 +4,7 @@

- {{ .entry.Title }} + {{ .entry.Title }}

@@ -115,7 +115,7 @@ {{ end }}
- {{ .URL }} + {{ .URL | safeURL }} {{ if gt .Size 0 }} - {{ formatFileSize .Size }}{{ end }}
-- cgit v1.2.3