diff --git a/CoverPages.py b/CoverPages.py index 16f1803..b9c0777 100644 --- a/CoverPages.py +++ b/CoverPages.py @@ -48,6 +48,9 @@ class CoverPages (object): title = gg.xmlspecialchars (row.title) #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) short_title = re.sub(r"\-+"," ",short_title)