Merged r9430 from trunk.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/branches/1.4-stable@9434 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang
2012-04-18 17:41:28 +00:00
parent 70036a7ad0
commit 39deb03855
2 changed files with 31 additions and 1 deletions
+1 -1
View File
@@ -585,7 +585,7 @@ class RedCloth3 < String
last_line = line_id
end
if line_id - last_line > 1 or line_id == lines.length - 1
depth.delete_if do |v|
while v = depth.pop
lines[last_line] << "</li>\n\t</#{ lT( v ) }l>"
end
end