1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2024-12-22 01:03:10 +00:00
forgejo/routers/web
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
..
admin Refactor update checker to use AppState (#17387) 2021-10-21 17:10:49 +01:00
dev Refactor routers directory (#15800) 2021-06-09 01:33:54 +02:00
events Move login related structs and functions to models/login (#17093) 2021-09-24 19:32:56 +08:00
explore Add user status filter to admin user management page (#16770) 2021-10-12 20:11:35 +02:00
feed Fix mispelling of starred as stared (#17465) 2021-10-28 15:05:00 +08:00
org Move login related structs and functions to models/login (#17093) 2021-09-24 19:32:56 +08:00
repo Stop double encoding blame commit messages (#17498) 2021-10-31 10:25:24 +02:00
user Add appearance section in settings (#17433) 2021-10-27 23:40:08 +08:00
base.go Use a variable but a function for IsProd because of a slight performance increment (#17368) 2021-10-20 16:37:19 +02:00
goget.go Related refactors to ctx.FormX functions (#16567) 2021-08-11 18:08:52 +03:00
home.go Refactor routers directory (#15800) 2021-06-09 01:33:54 +02:00
metrics.go Refactor routers directory (#15800) 2021-06-09 01:33:54 +02:00
nodeinfo.go Add nodeinfo endpoint for federation purposes (#16953) 2021-09-28 01:38:06 +02:00
swagger_json.go Refactor routers directory (#15800) 2021-06-09 01:33:54 +02:00
web.go Add appearance section in settings (#17433) 2021-10-27 23:40:08 +08:00