]> source.dussan.org Git - gitea.git/commit
Prevent incorrect HTML escaping in swagger.json (#14957)
authorzeripath <art27@cantab.net>
Fri, 12 Mar 2021 04:43:04 +0000 (04:43 +0000)
committerGitHub <noreply@github.com>
Fri, 12 Mar 2021 04:43:04 +0000 (23:43 -0500)
commit91ee3be58868eca4cf678932535dd721d591e06e
tree9720f69e69d633354d80d432112256fd01385ff5
parentdf76d9f7ad0bf2f54e3d09d3238d77049226d693
Prevent incorrect HTML escaping in swagger.json (#14957)

* Prevent incorrect HTML escaping in swagger.json

Fix #14706

Signed-off-by: Andrew Thornton <art27@cantab.net>
* oops add it to the helper

Signed-off-by: Andrew Thornton <art27@cantab.net>
* try again

Signed-off-by: Andrew Thornton <art27@cantab.net>
Co-authored-by: 6543 <6543@obermui.de>
Co-authored-by: techknowlogick <techknowlogick@gitea.io>
Makefile
modules/templates/helper.go
routers/api/v1/api.go
templates/swagger/v1_json.tmpl