mirror of
https://github.com/kataras/iris.git
synced 2026-01-10 05:25:58 +00:00
builtin html template functions changes
This commit is contained in:
@@ -45,7 +45,7 @@ func Ace(fs interface{}, extension string) *AceEngine {
|
||||
|
||||
s.middleware = func(name string, text []byte) (contents string, err error) {
|
||||
once.Do(func() { // on first template parse, all funcs are given.
|
||||
for k, v := range emptyFuncs {
|
||||
for k, v := range s.getBuiltinFuncs(name) {
|
||||
funcs[k] = v
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user