summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>2019-10-19 07:27:46 +0000
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>2019-10-19 07:27:46 +0000
commit57a66e950c94037e2b3ac4c8102af801957ff6cf (patch)
tree559e6f3a433c05778264d7c91966e597dd4e43be
parente2cb4be8920180a914511e3ff7e69a1ec2a57bb7 (diff)
downloadredmine-57a66e950c94037e2b3ac4c8102af801957ff6cf.tar.gz
redmine-57a66e950c94037e2b3ac4c8102af801957ff6cf.zip
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
-rw-r--r--.rubocop_todo.yml1
-rw-r--r--lib/redmine/wiki_formatting/textile/redcloth3.rb1
2 files changed, 0 insertions, 2 deletions
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|