From feb15edc7e544ee19253f3b8a1d13d706d011e83 Mon Sep 17 00:00:00 2001 From: Benny Malengier Date: Thu, 14 May 2009 14:43:42 +0000 Subject: [PATCH] 2860: Problem with det_ancestor report in PDF at page breaks svn: r12526 --- src/BaseDoc.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/BaseDoc.py b/src/BaseDoc.py index 1ae9f0af3..8cf0b3c9f 100644 --- a/src/BaseDoc.py +++ b/src/BaseDoc.py @@ -1707,7 +1707,7 @@ class TextDoc: #make sure text can split splitpos = text[start:pos].find(split) while splitpos <> -1: - otext += self.ESCAPE_FUNC()(text[start:splitpos]) + otext += self.ESCAPE_FUNC()(text[start:start+splitpos]) #close open tags opentags.reverse() for opentag in opentags: