mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Fix & in authors field
This commit is contained in:
parent
f0232f60fa
commit
f2776c02eb
@ -917,7 +917,8 @@ class EPUB_MOBI(CatalogPlugin):
|
||||
authorTag = body.find(attrs={'class':'author'})
|
||||
aTag = Tag(soup, "a")
|
||||
aTag['href'] = "%s.html#%s" % ("ByAlphaAuthor", self.generateAuthorAnchor(title['author']))
|
||||
aTag.insert(0, escape(title['author']))
|
||||
#aTag.insert(0, escape(title['author']))
|
||||
aTag.insert(0, title['author'])
|
||||
authorTag.insert(0, NavigableString("by "))
|
||||
authorTag.insert(1, aTag)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user