Zitatformatierung aus ntfy-Nachrichten entfernt

This commit is contained in:
2026-04-15 22:39:06 +02:00
parent 4e930c0e71
commit 96407abe98

View File

@@ -227,7 +227,7 @@ class NtfyBot(Plugin):
else:
emoji = tags = ""
html_content = "<span>Ntfy message in topic <code>{server}/{topic}</code></span><blockquote>".format(
html_content = "<span>Ntfy message in topic <code>{server}/{topic}</code></span><hr />".format(
server=html.escape(server), topic=html.escape(topic)
)
# build title
@@ -271,7 +271,7 @@ class NtfyBot(Plugin):
# build attachment
if attachment:
html_content += f"<p><a href=\"{html.escape(attachment['url'])}\">View {html.escape(attachment['name'])}</a></p>"
html_content += "</blockquote>"
return html_content