diff --git a/CoverPages.py b/CoverPages.py index 5fdc35f..7509249 100644 --- a/CoverPages.py +++ b/CoverPages.py @@ -39,11 +39,9 @@ class CoverPages(object): for row in rows: url = '/' + row.filename href = '/ebooks/%d' % row.pk - title = gg.xmlspecialchars (row.title) + title = gg.xmlspecialchars (row.title) # handles <,>,& #Shortening long titles for latest covers title = title.replace('"', '"') - title = title.replace('<', '<') - title = title.replace('>', '>') title = title.replace("'", ''') short_title = title title_len = len(title)