From a7595ec19154427bf38812208ac8443c2dca5462 Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Sat, 18 Dec 2010 17:21:57 +0000 Subject: [PATCH] Adds tests for class attribute parsing on pre/code tags. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4537 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- test/unit/helpers/application_helper_test.rb | 3 +++ 1 file changed, 3 insertions(+) diff --git a/test/unit/helpers/application_helper_test.rb b/test/unit/helpers/application_helper_test.rb index 4835b340a..4610bee3c 100644 --- a/test/unit/helpers/application_helper_test.rb +++ b/test/unit/helpers/application_helper_test.rb @@ -279,6 +279,9 @@ RAW "
some text
" => "
some text
", '
some text
' => '
some text
', "
some text
" => "
some text
", + # xss + '
text
' => '
text
', + '
text
' => '
text
', } to_test.each { |text, result| assert_equal result, textilizable(text) } end -- 2.39.5