Browse Source

captions: don't put caption text in blockquote

Signed-off-by: Sumner Evans <sumner@beeper.com>
Sumner Evans 2 năm trước cách đây
mục cha
commit
7185ac9d1e
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  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: