Add/handle <!--end-mx-reply--> at end of native reply fallbacks. Fixes #133
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user