mirror of
https://github.com/redmine/redmine.git
synced 2025-11-02 03:15:57 +01:00
Remove pre tag attributes.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@1930 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -181,7 +181,9 @@ class ApplicationHelperTest < HelperTestCase
|
||||
"<pre><code>\nline 1\nline2</code></pre>" => "<pre><code>\nline 1\nline2</code></pre>",
|
||||
"<pre><div>content</div></pre>" => "<pre><div>content</div></pre>",
|
||||
"HTML comment: <!-- no comments -->" => "<p>HTML comment: <!-- no comments --></p>",
|
||||
"<!-- opening comment" => "<p><!-- opening comment</p>"
|
||||
"<!-- opening comment" => "<p><!-- opening comment</p>",
|
||||
# remove attributes
|
||||
"<pre class='foo'>some text</pre>" => "<pre>some text</pre>",
|
||||
}
|
||||
to_test.each { |text, result| assert_equal result, textilizable(text) }
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user