1
0
mirror of https://github.com/meineerde/redmine.git synced 2025-10-17 17:01:01 +00:00

code cleanup: rubocop: fix Layout/EmptyLines in lib/redmine/wiki_formatting/textile/redcloth3.rb

git-svn-id: http://svn.redmine.org/redmine/trunk@18742 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Toshi MARUYAMA 2019-10-19 07:27:46 +00:00
parent e2cb4be892
commit 57a66e950c
2 changed files with 0 additions and 2 deletions

View File

@ -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.

View File

@ -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|