0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2024-11-25 17:52:46 +01:00

Merge branch 'dev' of github.com:gogits/gogs into dev

This commit is contained in:
Unknown 2014-04-09 21:42:30 -04:00
commit b3f1ae1ba6

View file

@ -146,7 +146,7 @@ func compile(options RenderOptions) *template.Template {
tmpl := t.New(filepath.ToSlash(name)) tmpl := t.New(filepath.ToSlash(name))
for _, funcs := range options.Funcs { for _, funcs := range options.Funcs {
tmpl.Funcs(funcs) tmpl = tmpl.Funcs(funcs)
} }
template.Must(tmpl.Funcs(helperFuncs).Parse(string(buf))) template.Must(tmpl.Funcs(helperFuncs).Parse(string(buf)))