Python 3 fix

This commit is contained in:
Aldo Bleeker 2021-03-22 19:24:34 +01:00
parent 76a47e0dd0
commit 425d8af73e
1 changed files with 1 additions and 1 deletions

View File

@ -559,7 +559,7 @@ class DocParser(object):
if (link > 0):
linktype = self.link_type[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 = alt_title.strip()
# now strip off the actual printed page number