]> source.dussan.org Git - redmine.git/commitdiff
Fix failing test (#35892).
authorMarius Balteanu <marius.balteanu@zitec.com>
Sat, 28 May 2022 18:22:09 +0000 (18:22 +0000)
committerMarius Balteanu <marius.balteanu@zitec.com>
Sat, 28 May 2022 18:22:09 +0000 (18:22 +0000)
git-svn-id: https://svn.redmine.org/redmine/branches/5.0-stable@21618 e93f8b46-1217-0410-a6f0-8f06a7374b81

test/unit/lib/redmine/wiki_formatting/common_mark/sanitization_filter_test.rb

index 87f67a76a2a10895daab07484be84edb4fbd383a..8cd6074ee4d8098542fae4a1e28cf10d5e1bfec3 100644 (file)
@@ -47,9 +47,9 @@ if Object.const_defined?(:CommonMarker)
     end
 
     def test_should_support_footnotes
-      input = %(<a href="#fn1" id="fnref1">foo</a>)
+      input = %(<a href="#fn-1" id="fnref-1">foo</a>)
       assert_equal input, filter(input)
-      input = %(<ol><li id="fn1">footnote</li></ol>)
+      input = %(<ol><li id="fn-1">footnote</li></ol>)
       assert_equal input, filter(input)
     end