diff options
author | zeripath <art27@cantab.net> | 2021-10-31 08:25:24 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-10-31 10:25:24 +0200 |
commit | 4e8a81780ed4ff0423e3a2ac7f75265e362ca46d (patch) | |
tree | ad3f90cd997d16955dcf379727aef1902b5af600 /docs/content | |
parent | 1ff944f6982b939e81b8da2425e8680f6fd8fc77 (diff) | |
download | gitea-4e8a81780ed4ff0423e3a2ac7f75265e362ca46d.tar.gz gitea-4e8a81780ed4ff0423e3a2ac7f75265e362ca46d.zip |
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>
Diffstat (limited to 'docs/content')
0 files changed, 0 insertions, 0 deletions