summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarius Balteanu <marius.balteanu@zitec.com>2022-11-28 22:36:09 +0000
committerMarius Balteanu <marius.balteanu@zitec.com>2022-11-28 22:36:09 +0000
commitee74f9b588028466a1cb70e53b6f4e0185efb023 (patch)
treedd8d4ea9e1f9057d686d02d5238e848ceb8a922a
parent7714de1da119467e8bd5e751596e5cd22bc31f6d (diff)
downloadredmine-ee74f9b588028466a1cb70e53b6f4e0185efb023.tar.gz
redmine-ee74f9b588028466a1cb70e53b6f4e0185efb023.zip
Merge r21915 to 4.2-stable (#37751).
git-svn-id: https://svn.redmine.org/redmine/branches/4.2-stable@21964 e93f8b46-1217-0410-a6f0-8f06a7374b81
-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 2cf06680e..b7d3d2fa9 100644
--- a/test/unit/lib/redmine/wiki_formatting/textile_formatter_test.rb
+++ b/test/unit/lib/redmine/wiki_formatting/textile_formatter_test.rb
@@ -715,10 +715,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