Fix long columns of text that span pages
svn: r23453
This commit is contained in:
parent
a4c17b6573
commit
dd818829bd
@ -665,7 +665,9 @@ class GtkDocParagraph(GtkDocBaseElement):
|
|||||||
markstarts = []
|
markstarts = []
|
||||||
#index is in bytecode in the text.. !!
|
#index is in bytecode in the text.. !!
|
||||||
while pos < index:
|
while pos < index:
|
||||||
char = oldtext[realpos]
|
if realpos >= len(oldtext):
|
||||||
|
break
|
||||||
|
char = oldtext[realpos]
|
||||||
if char == '<' and oldtext[realpos+1] != '/':
|
if char == '<' and oldtext[realpos+1] != '/':
|
||||||
# a markup starts
|
# a markup starts
|
||||||
end = realpos + oldtext[realpos:].find('>') + 1
|
end = realpos + oldtext[realpos:].find('>') + 1
|
||||||
|
Loading…
Reference in New Issue
Block a user