quote fixing for title on latest book
parent
bbcdf70034
commit
157a77e1f3
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue