aboutsummaryrefslogtreecommitdiff
path: root/renderer
diff options
context:
space:
mode:
authorr <r@freesoftwareextremist.com>2020-10-17 16:25:08 +0000
committerr <r@freesoftwareextremist.com>2020-10-17 16:25:08 +0000
commit7d989d56e572606e6f4051eed6e8fd43b3d63ec5 (patch)
treee69f0dd2aea4477484ce55598d650aa6e76b3324 /renderer
parent9c5cb289f9ec9cce597a0d9ee1284cf61c69ac66 (diff)
downloadbloat-7d989d56e572606e6f4051eed6e8fd43b3d63ec5.tar.gz
bloat-7d989d56e572606e6f4051eed6e8fd43b3d63ec5.zip
Fix search query escaping
Diffstat (limited to 'renderer')
-rw-r--r--renderer/renderer.go2
1 files changed, 0 insertions, 2 deletions
diff --git a/renderer/renderer.go b/renderer/renderer.go
index a5619c2..f90e8dc 100644
--- a/renderer/renderer.go
+++ b/renderer/renderer.go
@@ -2,7 +2,6 @@ package renderer
import (
"fmt"
- htemplate "html/template"
"io"
"strconv"
"strings"
@@ -146,7 +145,6 @@ func NewRenderer(templateGlobPattern string) (r *renderer, err error) {
"FormatTimeRFC3339": formatTimeRFC3339,
"FormatTimeRFC822": formatTimeRFC822,
"WithContext": withContext,
- "HTMLEscape": htemplate.HTMLEscapeString,
}).ParseGlob(templateGlobPattern)
if err != nil {
return