summaryrefslogtreecommitdiffstats
path: root/lib/redmine/wiki_formatting/textile/redcloth3.rb
diff options
context:
space:
mode:
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>2019-10-15 11:48:13 +0000
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>2019-10-15 11:48:13 +0000
commit76be6f712fad1fa37292ad6bfc6975154dd00050 (patch)
treedd800fcbc0c46a8a8fed04e370168fcf9b8b4125 /lib/redmine/wiki_formatting/textile/redcloth3.rb
parent94a7c3aa652a1341bafa2d66af0336b9452eb2b4 (diff)
downloadredmine-76be6f712fad1fa37292ad6bfc6975154dd00050.tar.gz
redmine-76be6f712fad1fa37292ad6bfc6975154dd00050.zip
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
Diffstat (limited to 'lib/redmine/wiki_formatting/textile/redcloth3.rb')
-rw-r--r--lib/redmine/wiki_formatting/textile/redcloth3.rb4
1 files changed, 0 insertions, 4 deletions
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 }</#{ ht }>#{ oqa }"
-
end
end
end