git-svn-id: http://svn.redmine.org/redmine/trunk@19542 e93f8b46-1217-0410-a6f0-8f06a7374b81tags/4.2.0
@@ -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 |