diff --git a/content.py b/content.py index 9948ffd1e..b17ebe35a 100644 --- a/content.py +++ b/content.py @@ -207,7 +207,7 @@ def addHtmlTags(baseDir: str,httpPrefix: str, \ """ if content.startswith('

'): return content - words=content.replace('\n',' --linebreak--').replace(',',' ').replace(';',' ').split(' ') + words=content.replace('\n',' --linebreak-- ').replace(',',' ').replace(';',' ').split(' ') # add music tag if needed content=addMusicTag(content,'nowplaying') @@ -265,7 +265,7 @@ def addHtmlTags(baseDir: str,httpPrefix: str, \ content=content.replace(wordStr,replaceStr) content=addWebLinks(content) - content=content.replace(' --linebreak--','

') + content=content.replace(' --linebreak-- ','

') return '

'+content+'

' def getMentionsFromHtml(htmlText: str,matchStr=" []: