Explorar o código

captions: don't put caption text in blockquote

Signed-off-by: Sumner Evans <sumner@beeper.com>
Sumner Evans %!s(int64=2) %!d(string=hai) anos
pai
achega
7185ac9d1e
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      mautrix_instagram/portal.py

+ 2 - 2
mautrix_instagram/portal.py

@@ -1147,8 +1147,8 @@ class Portal(DBPortal, BasePortal):
                 f"{external_url}"
             )
             caption_formatted_body = (
-                f"<blockquote><strong>{share_item.caption.user.username}</strong>"
-                f" {html.escape(share_item.caption.text)}</blockquote>"
+                f"<strong>{share_item.caption.user.username}</strong>"
+                f" {html.escape(share_item.caption.text)}"
                 f'<a href="{external_url}">instagram.com/p/{share_item.code}</a>'
             )
         else: