[#8557] updated _strip_tags_re with regexp since it was removed from markupsafe package
diff --git a/Allura/allura/tasks/mail_tasks.py b/Allura/allura/tasks/mail_tasks.py
index dd16f7c..75523b4 100644
--- a/Allura/allura/tasks/mail_tasks.py
+++ b/Allura/allura/tasks/mail_tasks.py
@@ -117,7 +117,7 @@
def replace_html(matchobj):
text_within_div = matchobj.group(1)
text_within_div = text_within_div.replace('</p>', '\n')
- text_within_div = markupsafe._strip_tags_re.sub('', text_within_div)
+ text_within_div = re.compile(r"<.*?>", re.DOTALL).sub('', text_within_div)
return text_within_div
plain_text = text