Add/handle <!--end-mx-reply--> at end of native reply fallbacks. Fixes #133

This commit is contained in:
Tulir Asokan
2018-05-04 15:40:26 +03:00
parent f7dfbbf3f4
commit 81d982d254
2 changed files with 3 additions and 4 deletions
+1 -2
View File
@@ -47,8 +47,7 @@ def trim_reply_fallback_text(text: str) -> str:
html_reply_fallback_regex = re.compile("^<blockquote data-mx-reply>"
r"[\s\S]+?"
"(</forward></blockquote>)?"
"</blockquote>")
"<!--end-mx-reply--></blockquote>")
def trim_reply_fallback_html(html: str) -> str: