0
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-12-16 09:14:34 +01:00
gitea/modules/templates
wxiaoguang c802c46a9b
Refactor og:description to limit the max length (#26876)
1. The `og:description` should be "a one to two sentence description of
your object"
* It shouldn't output all the user inputted content -- it would be
pretty huge.
    * Maybe it only needs at most 300 bytes.
2. Do not render commit message as HTML
2023-09-03 01:43:29 +00:00
..
eval
scopedtmpl
vars
base.go
dynamic.go
helper_test.go
helper.go
htmlrenderer_test.go
htmlrenderer.go
mailer.go
static.go
templates_bindata.go
util_avatar.go
util_dict.go
util_json.go
util_misc.go
util_render_test.go
util_render.go
util_slice.go
util_string.go Refactor og:description to limit the max length (#26876) 2023-09-03 01:43:29 +00:00
util_test.go