Explorar el Código

captions: don't put caption text in blockquote

Signed-off-by: Sumner Evans <sumner@beeper.com>
Sumner Evans hace 2 años
padre
commit
7185ac9d1e
Se han modificado 1 ficheros con 2 adiciones y 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}"
                 f"{external_url}"
             )
             )
             caption_formatted_body = (
             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>'
                 f'<a href="{external_url}">instagram.com/p/{share_item.code}</a>'
             )
             )
         else:
         else: