aboutsummaryrefslogtreecommitdiffstats
path: root/pkg/html
diff options
context:
space:
mode:
authorTaras Madan <tarasmadan@google.com>2023-02-23 16:55:09 +0100
committerTaras Madan <tarasmadan@google.com>2023-02-24 12:47:23 +0100
commit43662dbd759c10343cd850f581258e49574708e2 (patch)
tree5b6b18090333c888c76a4972fff72f2d26edfe8a /pkg/html
parent108b7c517e7afb3541e2236d070519615330fa13 (diff)
pkg/html/html.go: remove unnecessary conversion
Diffstat (limited to 'pkg/html')
-rw-r--r--pkg/html/html.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/html/html.go b/pkg/html/html.go
index 046a35b4c..72c2956e0 100644
--- a/pkg/html/html.go
+++ b/pkg/html/html.go
@@ -21,7 +21,7 @@ func CreateGlob(glob string) *template.Template {
}
func CreateTextGlob(glob string) *texttemplate.Template {
- return texttemplate.Must(texttemplate.New("").Funcs(texttemplate.FuncMap(Funcs)).ParseGlob(glob))
+ return texttemplate.Must(texttemplate.New("").Funcs(Funcs).ParseGlob(glob))
}
var Funcs = template.FuncMap{