forgejo/modules/templates
wxiaoguang a44805e5b3
Remove unnecessary SanitizeHTML from code (#29575)
* "mail/issue/default.tmpl": the body is rendered by backend
`markdown.RenderString() HTML`, it has been already sanitized
* "repo/settings/webhook/base_list.tmpl": "Description" is prepared by
backend `ctx.Tr`, it doesn't need to be sanitized

(cherry picked from commit dae7f1ebdbe19620f40e110b285f7c0ecd0bb33b)
2024-03-11 23:36:58 +07:00
..
eval
scopedtmpl
vars
base.go
dynamic.go
helper.go Remove unnecessary SanitizeHTML from code (#29575) 2024-03-11 23:36:58 +07:00
helper_test.go Remove unnecessary SanitizeHTML from code (#29575) 2024-03-11 23:36:58 +07:00
htmlrenderer.go
htmlrenderer_test.go
mailer.go
static.go
templates_bindata.go
util_avatar.go
util_dict.go
util_json.go
util_misc.go
util_render.go
util_render_test.go
util_slice.go
util_string.go
util_string_test.go
util_test.go