diff --git a/post_parser.py b/post_parser.py
index db80206..d3c3045 100644
--- a/post_parser.py
+++ b/post_parser.py
@@ -605,7 +605,11 @@ class PostParser:
if forward_html: content_body.append(forward_html) # Forward info
if reply_html: content_body.append(reply_html) # Reply info
content_body.append(f'{text_html}')
+
+ content_body.append(f'
')
content_body.append(f'{self._generate_html_media(message)}')
+ content_body.append(f'
')
+
if poll_html: content_body.append(poll_html) # Poll
if message.forward_origin: content_body.append(f"
--- Forwarded post end ---") # Forward info end
content_body.append(f'
')
@@ -630,7 +634,7 @@ class PostParser:
url = f"{base_url}/media/{file}/{digest}"
logger.debug(f"Collected media file: {channel_username}/{message.id}/{file_unique_id}")
- content_media.append(f'')
if webpage := getattr(message, "web_page", None): # Web page preview
if webpage_html := self._format_webpage(webpage, message):