1
0
mirror of https://github.com/meineerde/redmine.git synced 2026-03-26 02:31:09 +00:00

remove spaces inside {} of ApplicationHelperTest#test_html_tags

git-svn-id: http://svn.redmine.org/redmine/trunk@19910 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Toshi MARUYAMA 2020-07-15 16:37:35 +00:00
parent dbaabbb58d
commit 7512e3cc39

View File

@ -1139,7 +1139,7 @@ class ApplicationHelperTest < Redmine::HelperTest
'<pre><code class=""onmouseover="alert(1)">text</code></pre>' => '<pre><code>text</code></pre>', '<pre><code class=""onmouseover="alert(1)">text</code></pre>' => '<pre><code>text</code></pre>',
'<pre class=""onmouseover="alert(1)">text</pre>' => '<pre>text</pre>', '<pre class=""onmouseover="alert(1)">text</pre>' => '<pre>text</pre>',
} }
to_test.each { |text, result| assert_equal result, textilizable(text) } to_test.each {|text, result| assert_equal result, textilizable(text)}
end end
def test_allowed_html_tags def test_allowed_html_tags