mirror of
https://github.com/discourse/discourse.git
synced 2025-05-21 18:12:32 +08:00
FEATURE: convert incoming emails in HTML to markdown
- remove incoming_email_prefer_html site setting - remove HtmlCleaner class
This commit is contained in:
@ -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)
|
||||
|
Reference in New Issue
Block a user