From: Marius Balteanu Date: Mon, 28 Nov 2022 22:35:35 +0000 (+0000) Subject: Merge r21915 to 5.0-stable (#37751). X-Git-Tag: 5.0.4~9 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=06686a3edd1f20cc8dc53e1aae6739a3d444b8f0;p=redmine.git 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 --- 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} => - %{
\n\t\t

Hover me

\n\t
} - }, false) + assert_html_output( + { + %{bq.:http://x/"onmouseover="alert(document.domain) Hover me} => + %{
\n\t\t

Hover me

\n\t
} + }, false) end private