Fix long columns of text that span pages
svn: r23453
This commit is contained in:
parent
a4c17b6573
commit
dd818829bd
@ -665,6 +665,8 @@ 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:
|
||||||
|
if realpos >= len(oldtext):
|
||||||
|
break
|
||||||
char = oldtext[realpos]
|
char = oldtext[realpos]
|
||||||
if char == '<' and oldtext[realpos+1] != '/':
|
if char == '<' and oldtext[realpos+1] != '/':
|
||||||
# a markup starts
|
# a markup starts
|
||||||
|
Loading…
x
Reference in New Issue
Block a user