Fixed that textile nested lists are not properly closed in output (#10642).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9430 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
1 parent
ee559c6820
commit
2cc294aa27
2 files changed
+31
-1
No files matched your search
+1
-1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user