mirror of
git://github.com/kovidgoyal/calibre.git
synced 2025-12-25 08:25:44 +01:00
Fix incorrect escaping of author names in catalog
This commit is contained in:
commit
1861db15dd
1 changed files with 2 additions and 1 deletions
|
|
@ -917,7 +917,8 @@ def generateHTMLDescriptions(self):
|
|||
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…
Reference in a new issue