Fix: parse verification mail (#3864)

Email parsing logic was stripping of HTML tables which was causing the issue in this case.

Fixes: #3731
This commit is contained in:
Tejaswini Chile
2022-01-27 15:45:26 -08:00
committed by GitHub
parent 13eaff156a
commit 1467a8fa33
3 changed files with 23 additions and 4 deletions
-1
View File
@@ -15,7 +15,6 @@ class HtmlParser
def filter_replies!
document.xpath('//blockquote').each { |n| n.replace('> ') }
document.xpath('//table').each(&:remove)
end
def filtered_html