summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.rubocop_todo.yml1
-rw-r--r--lib/redmine/wiki_formatting/textile/redcloth3.rb4
2 files changed, 0 insertions, 5 deletions
diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml
index 0ba5123e8..d5baa92e7 100644
--- a/.rubocop_todo.yml
+++ b/.rubocop_todo.yml
@@ -162,7 +162,6 @@ Layout/EmptyLinesAroundArguments:
Layout/EmptyLinesAroundBlockBody:
Exclude:
- 'db/schema.rb'
- - 'lib/redmine/wiki_formatting/textile/redcloth3.rb'
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle.
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