From e8b06af277d70a6b40333067e92b177fc91e5f28 Mon Sep 17 00:00:00 2001 From: Toshi MARUYAMA Date: Wed, 16 Oct 2019 14:36:55 +0000 Subject: 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 --- .rubocop_todo.yml | 1 - lib/redmine/wiki_formatting/textile/redcloth3.rb | 2 -- 2 files changed, 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 = [] -- cgit v1.2.3