summaryrefslogtreecommitdiffstats
path: root/test/unit/lib
diff options
context:
space:
mode:
authorMarius Balteanu <marius.balteanu@zitec.com>2022-11-28 22:35:35 +0000
committerMarius Balteanu <marius.balteanu@zitec.com>2022-11-28 22:35:35 +0000
commit06686a3edd1f20cc8dc53e1aae6739a3d444b8f0 (patch)
treef492e10d7b582007e987379e5851dd9bd5921f5c /test/unit/lib
parenta751c00b5e554969145b7619421d04a83b4c380f (diff)
downloadredmine-06686a3edd1f20cc8dc53e1aae6739a3d444b8f0.tar.gz
redmine-06686a3edd1f20cc8dc53e1aae6739a3d444b8f0.zip
Merge r21915 to 5.0-stable (#37751).
git-svn-id: https://svn.redmine.org/redmine/branches/5.0-stable@21963 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test/unit/lib')
-rw-r--r--test/unit/lib/redmine/wiki_formatting/textile_formatter_test.rb9
1 files changed, 5 insertions, 4 deletions
diff --git a/test/unit/lib/redmine/wiki_formatting/textile_formatter_test.rb b/test/unit/lib/redmine/wiki_formatting/textile_formatter_test.rb
index 9d2a1815d..12e24b8a6 100644
--- a/test/unit/lib/redmine/wiki_formatting/textile_formatter_test.rb
+++ b/test/unit/lib/redmine/wiki_formatting/textile_formatter_test.rb
@@ -763,10 +763,11 @@ class Redmine::WikiFormatting::TextileFormatterTest < ActionView::TestCase
end
def test_should_escape_bq_citations
- assert_html_output({
- %{bq.:http://x/"onmouseover="alert(document.domain) Hover me} =>
- %{<blockquote cite="http://x/&quot;onmouseover=&quot;alert(document.domain)">\n\t\t<p>Hover me</p>\n\t</blockquote>}
- }, false)
+ assert_html_output(
+ {
+ %{bq.:http://x/"onmouseover="alert(document.domain) Hover me} =>
+ %{<blockquote cite="http://x/&quot;onmouseover=&quot;alert(document.domain)">\n\t\t<p>Hover me</p>\n\t</blockquote>}
+ }, false)
end
private