forgejo/modules/templates
Andrew Thornton 81b5bef55a
Prevent start panic due to missing DotEscape function
Unfortunately #19169 causing a panic at startup in prod mode. This was hidden by dev
mode because the templates are compiled dynamically there. The issue is that DotEscape
is not in the original FuncMap at the time of compilation which causes a panic.

Ref #19169

Signed-off-by: Andrew Thornton <art27@cantab.net>
2022-03-23 16:08:27 +00:00
..
base.go format with gofumpt (#18184) 2022-01-20 18:46:10 +01:00
dynamic.go format with gofumpt (#18184) 2022-01-20 18:46:10 +01:00
helper.go Prevent start panic due to missing DotEscape function 2022-03-23 16:08:27 +00:00
helper_test.go
static.go format with gofumpt (#18184) 2022-01-20 18:46:10 +01:00
templates_bindata.go Remove golang vendored directory (#18277) 2022-01-14 18:16:05 -05:00