This commit is contained in:
Tulir Asokan
2018-07-25 11:53:31 -04:00
parent d5f6e45363
commit c08659c75a
4 changed files with 8 additions and 8 deletions
@@ -78,7 +78,7 @@ def matrix_to_telegram(html: str) -> ParsedMessage:
html = add_surrogates(html)
text, entities = parse_html(add_surrogates(html))
text = remove_surrogates(html.strip())
text = remove_surrogates(text.strip())
text, entities = cut_long_message(text, entities)
return text, entities