unicode text must be sliced correctly.

svn: r13089
This commit is contained in:
Peter Landgren 2009-08-20 12:40:38 +00:00
parent 567721323d
commit 6966e7211a

View File

@ -278,6 +278,8 @@ class DocBackend(object):
is <b>text</b><i><b> here</b> not</i> is <b>text</b><i><b> here</b> not</i>
overwrite this method if this complexity is not needed. overwrite this method if this complexity is not needed.
""" """
#unicode text must be sliced correctly
text = unicode(text)
FIRST = 0 FIRST = 0
LAST = 1 LAST = 1
tagspos = {} tagspos = {}