Fix #1291085 [Add 'tooltip'(title) to Author in book details](https://bugs.launchpad.net/calibre/+bug/1291085)

This commit is contained in:
Kovid Goyal 2014-03-12 09:04:54 +05:30
parent 20ce36517c
commit 737fde279d

View File

@ -148,7 +148,7 @@ def mi_to_html(mi, field_list=None, default_author_link=None, use_roman_numbers=
default_author_link, vals, '', vals)
aut = p(aut)
if link:
authors.append(u'<a calibre-data="authors" href="%s">%s</a>'%(a(link), aut))
authors.append(u'<a calibre-data="authors" title="%s" href="%s">%s</a>'%(a(link), a(link), aut))
else:
authors.append(aut)
ans.append((field, row % (name, u' & '.join(authors))))