symbol replacement in html
parent
157a77e1f3
commit
49ed75d4ab
|
@ -48,6 +48,9 @@ class CoverPages (object):
|
||||||
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 ('"', '"')
|
title = title.replace ('"', '"')
|
||||||
|
title = title.replace ('<', '<')
|
||||||
|
title = title.replace ('>', '>')
|
||||||
|
title = title.replace ("'", ''')
|
||||||
short_title = title
|
short_title = title
|
||||||
title_len = len(title)
|
title_len = len(title)
|
||||||
short_title = re.sub(r"\-+"," ",short_title)
|
short_title = re.sub(r"\-+"," ",short_title)
|
||||||
|
|
Loading…
Reference in New Issue