chore: add <tg-spoiler/> tag

This commit is contained in:
Oleg A 2022-01-01 22:59:18 +03:00
parent c61410b526
commit 5cb7ecd4b2

View file

@ -13,6 +13,7 @@ MD_SYMBOLS = (
("<code>", "</code>"),
("<pre>", "</pre>"),
('<span class="tg-spoiler">', "</span>"),
("<tg-spoiler>", "</tg-spoiler>"),
)
HTML_QUOTES_MAP = {"<": "&lt;", ">": "&gt;", "&": "&amp;", '"': "&quot;"}