add break-word for geninfo in pnginfo

This commit is contained in:
gutris1 2024-08-07 17:37:23 +07:00 committed by GitHub
parent 82a973c043
commit 9677b09b7c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -23,7 +23,7 @@ def run_pnginfo(image):
info = ''
for key, text in items.items():
info += f"""
<div>
<div class="infotext">
<p><b>{plaintext_to_html(str(key))}</b></p>
<p>{plaintext_to_html(str(text))}</p>
</div>