Commit 9c7d8b3
committed
Prevent start panic due to missing DotEscape function
Unfortunately go-gitea#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 go-gitea#19169
Signed-off-by: Andrew Thornton <art27@cantab.net>1 parent 93feb1a commit 9c7d8b3
1 file changed
+1
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
380 | 380 | | |
381 | 381 | | |
382 | 382 | | |
| 383 | + | |
383 | 384 | | |
384 | 385 | | |
385 | 386 | | |
| |||
0 commit comments