mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Handle authors whose last name is a number. Indeed.
This commit is contained in:
parent
5921a12390
commit
b4dcafa78c
@ -2637,8 +2637,10 @@ Author '{0}':
|
||||
navLabelTag.insert(0, textTag)
|
||||
navPointByLetterTag.insert(0,navLabelTag)
|
||||
contentTag = Tag(soup, 'content')
|
||||
if authors_by_letter[1] == self.SYMBOLS:
|
||||
contentTag['src'] = "%s#%s_authors" % (HTML_file, authors_by_letter[1])
|
||||
else:
|
||||
contentTag['src'] = "%s#%s_authors" % (HTML_file, self.generateUnicodeName(authors_by_letter[1]))
|
||||
|
||||
navPointByLetterTag.insert(1,contentTag)
|
||||
|
||||
if self.generateForKindle:
|
||||
|
Loading…
x
Reference in New Issue
Block a user