diff --git a/app/modules/misskey_preview.py b/app/modules/misskey_preview.py index a5ba535..019c9cf 100644 --- a/app/modules/misskey_preview.py +++ b/app/modules/misskey_preview.py @@ -38,13 +38,11 @@ class MisskeyPreviewModule(niobot.Module): username = data["user"]["username"] if not data["text"]: continue - text_body = [] - for line in textwrap.shorten(data["text"], width=1000).splitlines(keepends=True): - text_body.append("> " + (line or "\u200b")) - body = "@%s:\n\n%s" % ( + text_body = "
%s" % "".join(textwrap.shorten(data["text"], width=1000)) + body = "@%s: