mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-07 10:14:46 -04:00
Fix incorrect escaping of author names in catalog
This commit is contained in:
commit
1861db15dd
@ -917,7 +917,8 @@ class EPUB_MOBI(CatalogPlugin):
|
|||||||
authorTag = body.find(attrs={'class':'author'})
|
authorTag = body.find(attrs={'class':'author'})
|
||||||
aTag = Tag(soup, "a")
|
aTag = Tag(soup, "a")
|
||||||
aTag['href'] = "%s.html#%s" % ("ByAlphaAuthor", self.generateAuthorAnchor(title['author']))
|
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(0, NavigableString("by "))
|
||||||
authorTag.insert(1, aTag)
|
authorTag.insert(1, aTag)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user