diff --git a/royalnet_telethon/formatting.py b/royalnet_telethon/formatting.py index c5242662..5d2992e1 100644 --- a/royalnet_telethon/formatting.py +++ b/royalnet_telethon/formatting.py @@ -11,6 +11,8 @@ def tg_html_format(string: str) -> str: - ``\uE002``: end underline - ``\uE015``: start strike - ``\uE005``: end strike + - ``\uE01F``: start spoiler + - ``\uE00F``: end spoiler - ``\uE01C``: start single-line code - ``\uE00C``: end single-line code - ``\uE01D``: start multi-line code @@ -33,6 +35,8 @@ def tg_html_format(string: str) -> str: string = string.replace("\uE001", "") string = string.replace("\uE015", "") string = string.replace("\uE005", "") + string = string.replace("\uE01F", "") + string = string.replace("\uE00F", "") string = string.replace("\uE012", "") string = string.replace("\uE002", "") string = string.replace("\uE01C", "")