mirror of
https://github.com/redmine/redmine.git
synced 2025-12-16 05:20:28 +01:00
code cleanup: rubocop: fix Style/UnlessElse in lib/redmine/wiki_formatting/textile/redcloth3.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@18737 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -575,7 +575,7 @@ class RedCloth3 < String
|
||||
lines[line_id - 1] << '</li>'
|
||||
end
|
||||
end
|
||||
unless depth.last == tl
|
||||
if depth.last != tl
|
||||
depth << tl
|
||||
atts = pba( atts )
|
||||
atts = shelve( atts ) if atts
|
||||
@@ -584,7 +584,6 @@ class RedCloth3 < String
|
||||
lines[line_id] = +"\t\t<li>#{content}"
|
||||
end
|
||||
last_line = line_id
|
||||
|
||||
else
|
||||
last_line = line_id
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user