Fix bug in parsing LRF.

This commit is contained in:
Kovid Goyal 2007-10-26 18:30:17 +00:00
parent 4432a279fb
commit 87dc7ffbd2

View file

@ -620,6 +620,8 @@ def start_para(self, tag, stream):
self.content.append(self.__class__.TextTag('P'))
def close_containers(self, start=0):
if len(self.content) == 0:
return
open_containers = 0
if len(self.content) > 0 and isinstance(self.content[-1], self.__class__.Span):
self.content.pop()