mirror of
https://github.com/TheFunny/TelegramTwitterMediaBot.git
synced 2026-09-23 23:32:05 +00:00
fix html escape
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
import html
|
||||
from typing import Generator
|
||||
|
||||
from aiohttp import ClientSession
|
||||
@@ -183,8 +184,8 @@ class TGTweet(Tweet):
|
||||
return message_raw_text.format(
|
||||
url=self.url,
|
||||
author_url=self.author_url,
|
||||
author=self.author,
|
||||
text=self.text
|
||||
author=html.escape(self.author),
|
||||
text=html.escape(self.text)
|
||||
)
|
||||
|
||||
@property
|
||||
|
||||
Reference in New Issue
Block a user