Zitatformatierung aus ntfy-Nachrichten entfernt
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user