ldap: fix unclosed a tag (#77386)
gitea/passerelle/pipeline/head There was a failure building this commit Details

This commit is contained in:
Thomas NOËL 2023-05-09 14:01:04 +02:00
parent 23480ce819
commit d87dd7b107
1 changed files with 1 additions and 1 deletions

View File

@ -101,7 +101,7 @@ class Resource(BaseResource):
except Exception:
name = ('%s bytes') % len(content)
return format_html(
'<a href="data:application/octet-string;base64,{}" target="_blank" download="tls.crt">{}<a/>',
'<a href="data:application/octet-string;base64,{}" target="_blank" download="tls.crt">{}</a>',
base64.b64encode(content).decode(),
name,
)