mirror of
https://github.com/go-gitea/gitea
synced 2025-07-23 02:38:35 +00:00
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>
This commit is contained in:
@@ -19,9 +19,9 @@
|
||||
"name": "MIT",
|
||||
"url": "http://opensource.org/licenses/MIT"
|
||||
},
|
||||
"version": "{{AppVer}}"
|
||||
"version": "{{AppVer | JSEscape | Safe}}"
|
||||
},
|
||||
"basePath": "{{AppSubUrl}}/api/v1",
|
||||
"basePath": "{{AppSubUrl | JSEscape | Safe}}/api/v1",
|
||||
"paths": {
|
||||
"/admin/cron": {
|
||||
"get": {
|
||||
|
Reference in New Issue
Block a user