Compare commits

...
Author SHA1 Message Date
Vishnu Narayanan 03524672e8 fix: force utf8 encoding in email channel [cw-2913] 2024-01-08 14:18:18 +05:30
+1 -1
View File
@@ -25,6 +25,6 @@ class HtmlParser
end
def filtered_text
@filtered_text ||= Html2Text.convert(filtered_html)
@filtered_text ||= Html2Text.convert(filtered_html.encode('UTF-8', invalid: :replace, replace: ''))
end
end