summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>2019-10-16 14:36:55 +0000
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>2019-10-16 14:36:55 +0000
commite8b06af277d70a6b40333067e92b177fc91e5f28 (patch)
treeb0a5de4ff191d8702b3cc82e9db5940542aed221
parent809d7a7e4bac4bbe4ceef6391b122377922a6970 (diff)
downloadredmine-e8b06af277d70a6b40333067e92b177fc91e5f28.tar.gz
redmine-e8b06af277d70a6b40333067e92b177fc91e5f28.zip
code cleanup: rubocop: fix Layout/EmptyLinesAroundMethodBody in lib/redmine/wiki_formatting/textile/redcloth3.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@18696 e93f8b46-1217-0410-a6f0-8f06a7374b81
-rw-r--r--.rubocop_todo.yml1
-rw-r--r--lib/redmine/wiki_formatting/textile/redcloth3.rb2
2 files changed, 0 insertions, 3 deletions
diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml
index c5b9ea54f..231f73428 100644
--- a/.rubocop_todo.yml
+++ b/.rubocop_todo.yml
@@ -165,7 +165,6 @@ Layout/EmptyLinesAroundMethodBody:
- 'app/models/query.rb'
- 'db/migrate/001_setup.rb'
- 'db/migrate/20111201201315_add_unique_index_to_issue_relations.rb'
- - 'lib/redmine/wiki_formatting/textile/redcloth3.rb'
- 'test/functional/journals_controller_test.rb'
- 'test/functional/users_controller_test.rb'
- 'test/integration/account_test.rb'
diff --git a/lib/redmine/wiki_formatting/textile/redcloth3.rb b/lib/redmine/wiki_formatting/textile/redcloth3.rb
index 24aa67267..a4b6f3bab 100644
--- a/lib/redmine/wiki_formatting/textile/redcloth3.rb
+++ b/lib/redmine/wiki_formatting/textile/redcloth3.rb
@@ -316,7 +316,6 @@ class RedCloth3 < String
clean_html text if filter_html
text.strip!
text
-
end
private
@@ -462,7 +461,6 @@ class RedCloth3 < String
# Parses Textile attribute lists and builds an HTML attribute string
def pba( text_in, element = "" )
-
return +'' unless text_in
style = []