mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Fix #1291085 [Add 'tooltip'(title) to Author in book details](https://bugs.launchpad.net/calibre/+bug/1291085)
This commit is contained in:
parent
20ce36517c
commit
737fde279d
@ -148,7 +148,7 @@ def mi_to_html(mi, field_list=None, default_author_link=None, use_roman_numbers=
|
|||||||
default_author_link, vals, '', vals)
|
default_author_link, vals, '', vals)
|
||||||
aut = p(aut)
|
aut = p(aut)
|
||||||
if link:
|
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:
|
else:
|
||||||
authors.append(aut)
|
authors.append(aut)
|
||||||
ans.append((field, row % (name, u' & '.join(authors))))
|
ans.append((field, row % (name, u' & '.join(authors))))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user