You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gitea/modules/templates
wxiaoguang 31bb9f3247
Refactor more code in templates (#29236)
Follow #29165. 

* Introduce JSONTemplate to help to render JSON templates
* Introduce JSEscapeSafe for templates. Now only use `{{ ... |
JSEscape}}` instead of `{{ ... | JSEscape | Safe}}`
* Simplify "UserLocationMapURL" useage
12 months ago
..
eval
scopedtmpl
vars
base.go Replace `util.SliceXxx` with `slices.Xxx` (#26958) 1 year ago
dynamic.go
helper.go Refactor more code in templates (#29236) 12 months ago
helper_test.go Refactor more code in templates (#29236) 12 months ago
htmlrenderer.go Upgrade to golangci-lint@v1.55.0 (#27756) 1 year ago
htmlrenderer_test.go
mailer.go
static.go
templates_bindata.go
util_avatar.go Fix default avatar image size in PR diff page (#28971) 1 year ago
util_dict.go Use `Set[Type]` instead of `map[Type]bool/struct{}`. (#26804) 1 year ago
util_json.go
util_misc.go Improve feed icons and feed merge text color (#27498) 1 year ago
util_render.go Rework markup link rendering (#26745) 1 year ago
util_render_test.go Rework markup link rendering (#26745) 1 year ago
util_slice.go
util_string.go Add support for sha256 repositories (#23894) 1 year ago
util_test.go