FEATURE: convert incoming emails in HTML to markdown

- remove incoming_email_prefer_html site setting
- remove HtmlCleaner class
This commit is contained in:
Régis Hanol
2017-04-26 16:49:06 +02:00
parent e155cb6db1
commit b76674f640
6 changed files with 10 additions and 157 deletions

View File

@ -115,7 +115,7 @@ class HtmlToMarkdown
RUBY
end
WHITELISTED ||= %w{del ins kbd s small strike sub sup table tbody td tfoot th thead tr}
WHITELISTED ||= %w{del ins kbd s small strike sub sup}
WHITELISTED.each do |tag|
class_eval <<-RUBY
def visit_#{tag}(node)