]> source.dussan.org Git - redmine.git/commitdiff
code cleanup: rubocop: fix Layout/EmptyLines in lib/redmine/wiki_formatting/textile...
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Sat, 19 Oct 2019 07:27:46 +0000 (07:27 +0000)
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Sat, 19 Oct 2019 07:27:46 +0000 (07:27 +0000)
git-svn-id: http://svn.redmine.org/redmine/trunk@18742 e93f8b46-1217-0410-a6f0-8f06a7374b81

.rubocop_todo.yml
lib/redmine/wiki_formatting/textile/redcloth3.rb

index 27e2d405eacc9c60a43aede218146065bd526180..7582fa3c26f2473e6921c0ae1803e7cb6ad9e21e 100644 (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.
index 750bf8cacbb2c1db3b01fc07c6713ae9c33b21f3..064045c1f369df3b9625dd172670016ae75da52e 100644 (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|