mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Fix #8225 (Ampersands and Saved Searches)
This commit is contained in:
parent
868fa550ee
commit
5774429f78
@ -128,9 +128,9 @@ def CATALOG_ENTRY(item, item_kind, base_href, version, updated,
|
|||||||
count = ''
|
count = ''
|
||||||
if item.category == 'authors' and \
|
if item.category == 'authors' and \
|
||||||
tweaks['categories_use_field_for_author_name'] == 'author_sort':
|
tweaks['categories_use_field_for_author_name'] == 'author_sort':
|
||||||
name = xml(item.sort)
|
name = item.sort
|
||||||
else:
|
else:
|
||||||
name = xml(item.name)
|
name = item.name
|
||||||
return E.entry(
|
return E.entry(
|
||||||
TITLE(name + ('' if not add_kind else ' (%s)'%item_kind)),
|
TITLE(name + ('' if not add_kind else ' (%s)'%item_kind)),
|
||||||
ID(id_),
|
ID(id_),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user