aboutsummaryrefslogtreecommitdiff
path: root/internal
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--internal/feed/template/funcs.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/internal/feed/template/funcs.go b/internal/feed/template/funcs.go
index fbfb572..6487ae2 100644
--- a/internal/feed/template/funcs.go
+++ b/internal/feed/template/funcs.go
@@ -5,6 +5,7 @@ import (
html "html/template"
"strconv"
"strings"
+ text "text/template"
"github.com/Necoro/feed2imap-go/pkg/log"
)
@@ -63,7 +64,7 @@ func _html(s string) html.HTML {
return html.HTML(s)
}
-var funcMap = map[string]any{
+var funcMap = text.FuncMap{
"dict": dict,
"join": join,
"lastUrlPart": lastUrlPart,