gitea/modules/templates
wxiaoguang dae7f1ebdb
Remove unnecessary SanitizeHTML from code ()
* "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
..
eval Use a general Eval function for expressions in templates. ()
scopedtmpl Replace `interface{}` with `any` ()
vars Implement FSFE REUSE for golang files ()
base.go Replace `util.SliceXxx` with `slices.Xxx` ()
dynamic.go Use a general approach to access custom/static/builtin assets ()
helper.go Remove unnecessary SanitizeHTML from code ()
helper_test.go Remove unnecessary SanitizeHTML from code ()
htmlrenderer.go Upgrade to golangci-lint@v1.55.0 ()
htmlrenderer_test.go Show friendly 500 error page to users and developers ()
mailer.go Breaking summary for template refactoring ()
static.go Use a general approach to access custom/static/builtin assets ()
templates_bindata.go Implement FSFE REUSE for golang files ()
util_avatar.go Fix default avatar image size in PR diff page ()
util_dict.go Use `Set[Type]` instead of `map[Type]bool/struct{}`. ()
util_json.go Improve template helper ()
util_misc.go Improve feed icons and feed merge text color ()
util_render.go Refactor some Str2html code ()
util_render_test.go Rework markup link rendering ()
util_slice.go Improve template helper functions: string/slice ()
util_string.go Refactor some Str2html code ()
util_test.go Improve template helper functions: string/slice ()