diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml index 27e2d405e..7582fa3c2 100644 --- a/.rubocop_todo.yml +++ b/.rubocop_todo.yml @@ -107,7 +107,6 @@ Layout/EmptyLines: - 'config/routes.rb' - 'db/migrate/001_setup.rb' - 'lib/redmine/sudo_mode.rb' - - 'lib/redmine/wiki_formatting/textile/redcloth3.rb' - 'test/helpers/application_helper_test.rb' # Cop supports --auto-correct. diff --git a/lib/redmine/wiki_formatting/textile/redcloth3.rb b/lib/redmine/wiki_formatting/textile/redcloth3.rb index 750bf8cac..064045c1f 100644 --- a/lib/redmine/wiki_formatting/textile/redcloth3.rb +++ b/lib/redmine/wiki_formatting/textile/redcloth3.rb @@ -1198,7 +1198,6 @@ class RedCloth3 < String end end - ALLOWED_TAGS = %w(redpre pre code kbd notextile) def escape_html_tags(text) text.gsub!(%r{<(\/?([!\w]+)[^<>\n]*)(>?)}) do |m|