Actually supporting a bunch of elements
This commit is contained in:
parent
b2270fd37d
commit
0e3f729c33
@ -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]
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user