mirror of
https://github.com/redmine/redmine.git
synced 2026-07-10 17:43:17 +02:00
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
This commit is contained in:
@@ -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'
|
||||
|
||||
@@ -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 = []
|
||||
|
||||
Reference in New Issue
Block a user