0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2024-12-25 09:04:50 +01:00
gitea/routers
Giteabot aadbbf4358
Do not render empty comments (#29039) (#29049)
Backport #29039 by wxiaoguang

Follow #28654

The `comments` might be empty, so the templates shouldn't (and couldn't)
use it to render. When there is no comment, the UI should also be
updated to empty, so returning an empty body is good enough.

Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
2024-02-04 13:25:58 +00:00
..
api
common
install
private
utils
web Do not render empty comments (#29039) (#29049) 2024-02-04 13:25:58 +00:00
init.go