quote fixing for title on latest book

bk_debug
Marshall 2020-05-29 16:50:09 -04:00
parent bbcdf70034
commit 157a77e1f3
1 changed files with 1 additions and 1 deletions

View File

@ -47,8 +47,8 @@ class CoverPages (object):
href = '/ebooks/%d' % row.pk href = '/ebooks/%d' % row.pk
title = gg.xmlspecialchars (row.title) title = gg.xmlspecialchars (row.title)
#Shortening long titles for latest covers #Shortening long titles for latest covers
title = title.replace ('"', '"')
short_title = title short_title = title
short_title = short_title.replace ('"', '"')
title_len = len(title) title_len = len(title)
short_title = re.sub(r"\-+"," ",short_title) short_title = re.sub(r"\-+"," ",short_title)
#title = re.sub (r"\-+"," ",title) #title = re.sub (r"\-+"," ",title)