From 5774429f78e42a0ad38ac56b3a1b031d0b3ef18f Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Fri, 7 Jan 2011 11:33:55 -0700 Subject: [PATCH] Fix #8225 (Ampersands and Saved Searches) --- src/calibre/library/server/opds.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/calibre/library/server/opds.py b/src/calibre/library/server/opds.py index ab0853add9..ead7cf1938 100644 --- a/src/calibre/library/server/opds.py +++ b/src/calibre/library/server/opds.py @@ -128,9 +128,9 @@ def CATALOG_ENTRY(item, item_kind, base_href, version, updated, count = '' if item.category == 'authors' and \ tweaks['categories_use_field_for_author_name'] == 'author_sort': - name = xml(item.sort) + name = item.sort else: - name = xml(item.name) + name = item.name return E.entry( TITLE(name + ('' if not add_kind else ' (%s)'%item_kind)), ID(id_),