Edit book: Fix typo that caused error popup while creating a new tag

This commit is contained in:
Kovid Goyal 2014-02-07 15:59:22 +05:30
parent a2727ec253
commit 75f7fc5f0a

View File

@ -90,7 +90,7 @@ def find_closing_tag(tag, max_tags=sys.maxint):
if block is None or not tag_start.is_start: if block is None or not tag_start.is_start:
break break
endblock, tag_end = next_tag_boundary(block, tag_start.offset) endblock, tag_end = next_tag_boundary(block, tag_start.offset)
if block is None or tag_end.is_start: if endblock is None or tag_end.is_start:
break break
if tag_start.closing: if tag_start.closing:
try: try: