Ticket #9730: strip_tags_failing_test.patch
| File strip_tags_failing_test.patch, 0.6 kB (added by joevandyk, 9 months ago) |
|---|
-
actionpack/test/template/text_helper_test.rb
old new 537 537 end 538 538 539 539 def test_strip_tags 540 assert_equal("bad html", strip_tags("<<<bad html")) 540 541 assert_equal("Dont touch me", strip_tags("Dont touch me")) 541 542 assert_equal("This is a test.", strip_tags("<p>This <u>is<u> a <a href='test.html'><strong>test</strong></a>.</p>")) 542 543 assert_equal("Weirdos", strip_tags("Wei<<a>a onclick='alert(document.cookie);'</a>/>rdos"))