aboutsummaryrefslogtreecommitdiff
path: root/internal/feed/template/funcs.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/feed/template/funcs.go')
-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,
onio Terceiro1-18/+2 2015-05-10Bump versionAntonio Terceiro1-1/+1 2015-05-10Fix regression in `include-images` optionAntonio Terceiro3-8/+16 2015-05-03Bump versionAntonio Terceiro1-1/+1 2015-05-03Fix usage of filtersAntonio Terceiro2-16/+24 2015-01-13Handle being given numbers as feed nameAntonio Terceiro2-0/+16 2015-01-13Rakefile: remove wrong (and thus unused) flagAntonio Terceiro1-1/+0 2015-01-13Remove deprecated 'test suite' fileAntonio Terceiro1-12/+0 2015-01-13Rakefile: re-indentAntonio Terceiro1-35/+35 2015-01-13Rakefile: run tests in verbose modeAntonio Terceiro1-1/+2 2014-10-071.2.3 releaseAntonio Terceiro1-1/+1 2014-10-07Fix cleanup of maildirsAntonio Terceiro3-1/+16 2014-05-18feed2imap-test: reuse cache dir/protect configAntonio Terceiro1-1/+1 2014-02-13feed2imap-test: can now take a feed URL as argumentAntonio Terceiro1-3/+22 2014-02-13update .gitignoreAntonio Terceiro1-0/+2 2014-02-13fix dependency on ruby-feedparserAntonio Terceiro1-1/+1 2014-02-05Release 1.2.2Antonio Terceiro2-2/+2 2014-02-05config: fix regression with arrays as targetAntonio Terceiro2-1/+17 2013-08-28Fix teardown method nameAntonio Terceiro1-1/+1