ldap: fix unclosed a tag (#77386)
gitea/passerelle/pipeline/head There was a failure building this commit
Details
gitea/passerelle/pipeline/head There was a failure building this commit
Details
This commit is contained in:
parent
23480ce819
commit
d87dd7b107
|
@ -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,
|
||||
)
|
||||
|
|
Loading…
Reference in New Issue