diff options
author | wxiaoguang <wxiaoguang@gmail.com> | 2023-03-28 00:05:51 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-27 18:05:51 +0200 |
commit | 31ab331b233d09568d47ffa25ea5516282d8e71b (patch) | |
tree | b973b2cbb4864676242415d89851468f577a8662 /templates/api/packages/pypi | |
parent | ec261b63e14f84da3e2d9a6e27c8b831a7750677 (diff) | |
download | gitea-31ab331b233d09568d47ffa25ea5516282d8e71b.tar.gz gitea-31ab331b233d09568d47ffa25ea5516282d8e71b.zip |
Remove incorrect HTML self close tag (#23748)
HTML is not XML.
Diffstat (limited to 'templates/api/packages/pypi')
-rw-r--r-- | templates/api/packages/pypi/simple.tmpl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/api/packages/pypi/simple.tmpl b/templates/api/packages/pypi/simple.tmpl index d8e480d9c6..77cb035600 100644 --- a/templates/api/packages/pypi/simple.tmpl +++ b/templates/api/packages/pypi/simple.tmpl @@ -8,7 +8,7 @@ {{range .PackageDescriptors}} {{$p := .}} {{range .Files}} - <a href="{{$.RegistryURL}}/files/{{$p.Package.LowerName}}/{{$p.Version.Version}}/{{.File.Name}}#sha256-{{.Blob.HashSHA256}}"{{if $p.Metadata.RequiresPython}} data-requires-python="{{$p.Metadata.RequiresPython}}"{{end}}>{{.File.Name}}</a><br/> + <a href="{{$.RegistryURL}}/files/{{$p.Package.LowerName}}/{{$p.Version.Version}}/{{.File.Name}}#sha256-{{.Blob.HashSHA256}}"{{if $p.Metadata.RequiresPython}} data-requires-python="{{$p.Metadata.RequiresPython}}"{{end}}>{{.File.Name}}</a><br> {{end}} {{end}} </body> |