mirror of
https://github.com/meineerde/redmine.git
synced 2025-12-19 15:01:14 +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:
parent
e2cb4be892
commit
57a66e950c
@ -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.
|
||||
|
||||
@ -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|
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user