Actually supporting a bunch of elements

This commit is contained in:
Darius Kazemi 2021-04-23 15:44:55 -07:00
parent b2270fd37d
commit 0e3f729c33
1 changed files with 1 additions and 1 deletions

View File

@ -53,7 +53,7 @@ class Sanitize
end
UNSUPPORTED_ELEMENTS_TRANSFORMER = lambda do |env|
return unless %w(h1 h2 h3 h4 h5 h6 blockquote pre ul ol li).include?(env[:node_name])
return unless %w(h6).include?(env[:node_name])
current_node = env[:node]