Python 3 fix
This commit is contained in:
parent
76a47e0dd0
commit
425d8af73e
|
@ -559,7 +559,7 @@ class DocParser(object):
|
||||||
if (link > 0):
|
if (link > 0):
|
||||||
linktype = self.link_type[link-1]
|
linktype = self.link_type[link-1]
|
||||||
title = self.link_title[link-1]
|
title = self.link_title[link-1]
|
||||||
title = title.rstrip(b'. ')
|
title = title.rstrip(b'. ').decode('utf-8')
|
||||||
alt_title = parares[lstart:]
|
alt_title = parares[lstart:]
|
||||||
alt_title = alt_title.strip()
|
alt_title = alt_title.strip()
|
||||||
# now strip off the actual printed page number
|
# now strip off the actual printed page number
|
||||||
|
|
Loading…
Reference in New Issue