Selaa lähdekoodia

Fix a RuboCop offence Style/NegatedWhile (#32971).


git-svn-id: http://svn.redmine.org/redmine/trunk@19542 e93f8b46-1217-0410-a6f0-8f06a7374b81
tags/4.2.0
Go MAEDA 4 vuotta sitten
vanhempi
commit
0ba13a0bd3
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1
    1
      lib/redmine/wiki_formatting/textile/redcloth3.rb

+ 1
- 1
lib/redmine/wiki_formatting/textile/redcloth3.rb Näytä tiedosto

@@ -1025,7 +1025,7 @@ class RedCloth3 < String
end
if /^ +\S/.match?(text)
indt = 0
indt += 1 while !/^ {#{indt}}\S/.match?(text)
indt += 1 until /^ {#{indt}}\S/.match?(text)
if indt.nonzero?
text.gsub!( /^ {#{indt}}/, '' )
end

Loading…
Peruuta
Tallenna