0
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-11-22 12:07:37 +01:00
gitea/routers
zeripath 4e8a81780e
Stop double encoding blame commit messages (#17498)
The call to html.EscapeString in routers/web/repo/blame.go:renderBlame is extraneous
as the commit message is now rendered by the template. The template will correctly
escape strings - therefore we are currently double escaping.

This PR fixes this.

Fix #17492

Signed-off-by: Andrew Thornton <art27@cantab.net>
2021-10-31 10:25:24 +02:00
..
api/v1
common
install
private
utils
web Stop double encoding blame commit messages (#17498) 2021-10-31 10:25:24 +02:00
init.go