]> source.dussan.org Git - redmine.git/commitdiff
Merge r21915 to 5.0-stable (#37751).
authorMarius Balteanu <marius.balteanu@zitec.com>
Mon, 28 Nov 2022 22:35:35 +0000 (22:35 +0000)
committerMarius Balteanu <marius.balteanu@zitec.com>
Mon, 28 Nov 2022 22:35:35 +0000 (22:35 +0000)
git-svn-id: https://svn.redmine.org/redmine/branches/5.0-stable@21963 e93f8b46-1217-0410-a6f0-8f06a7374b81

test/unit/lib/redmine/wiki_formatting/textile_formatter_test.rb

index 9d2a1815d3305c74b6a3ded6936909205650485d..12e24b8a67abf4c2703d5964e70b9dc77fc6749a 100644 (file)
@@ -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