diff --git a/comicvinetalker.py b/comicvinetalker.py
index 08003d5..770c16a 100644
--- a/comicvinetalker.py
+++ b/comicvinetalker.py
@@ -240,14 +240,24 @@ class ComicVineTalker(QObject):
return metadata
def cleanup_html( self, string):
- p = re.compile(r'<[^<]*?>')
+
+ # remove all newlines first
+ string = string.replace("\n", "")
+
+ #put in our own
+ string = string.replace("
", "\n")
+ string = string.replace("
", "\n\n")
+ string = string.replace("", "*")
+ string = string.replace("
", "*\n")
+
+ # now strip all other tags
+ p = re.compile(r'<[^<]*?>')
+ newstring = p.sub('',string)
- newstring = p.sub('',string)
-
- newstring = newstring.replace(' ',' ')
- newstring = newstring.replace('&','&')
-
- return newstring
+ newstring = newstring.replace(' ',' ')
+ newstring = newstring.replace('&','&')
+
+ return newstring
def fetchIssueDate( self, issue_id ):
image_url, thumb_url, month,year = self.fetchIssueSelectDetails( issue_id )