From 76be6f712fad1fa37292ad6bfc6975154dd00050 Mon Sep 17 00:00:00 2001 From: Toshi MARUYAMA Date: Tue, 15 Oct 2019 11:48:13 +0000 Subject: code cleanup: rubocop: fix Layout/EmptyLinesAroundBlockBody in lib/redmine/wiki_formatting/textile/redcloth3.rb git-svn-id: http://svn.redmine.org/redmine/trunk@18678 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- lib/redmine/wiki_formatting/textile/redcloth3.rb | 4 ---- 1 file changed, 4 deletions(-) (limited to 'lib') diff --git a/lib/redmine/wiki_formatting/textile/redcloth3.rb b/lib/redmine/wiki_formatting/textile/redcloth3.rb index 6f34b51d2..af2e7bcf3 100644 --- a/lib/redmine/wiki_formatting/textile/redcloth3.rb +++ b/lib/redmine/wiki_formatting/textile/redcloth3.rb @@ -531,7 +531,6 @@ class RedCloth3 < String # Parses a Textile table block, building HTML from the result. def block_textile_table( text ) text.gsub!( TABLE_RE ) do |matches| - tatts, fullrow = $~[1..2] tatts = pba( tatts, 'table' ) tatts = shelve( tatts ) if tatts @@ -693,7 +692,6 @@ class RedCloth3 < String blk + "\n#{ code_blk }" end end - end.join( "\n\n" ) ) end @@ -795,7 +793,6 @@ class RedCloth3 < String def inline_textile_span( text ) QTAGS.each do |qtag_rc, ht, qtag_re, rtype| text.gsub!( qtag_re ) do |m| - case rtype when :limit sta,oqs,qtag,content,oqa = $~[1..6] @@ -811,7 +808,6 @@ class RedCloth3 < String atts = shelve( atts ) if atts "#{ sta }#{ oqs }<#{ ht }#{ atts }>#{ content }#{ oqa }" - end end end -- cgit v1.2.3