mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
37c84ed877
When someone accidentally passes a string to sanitize like: sanitize("<span>foo</span>", :tags => "b") there is no indication that it's the wrong way and span will not be removed. |
||
---|---|---|
.. | ||
cdata_node_test.rb | ||
document_test.rb | ||
node_test.rb | ||
sanitizer_test.rb | ||
tag_node_test.rb | ||
text_node_test.rb | ||
tokenizer_test.rb |