From e0d29fff811923532c7e728942574d3bce82e81e Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Thu, 5 Sep 2019 11:29:09 +0100 Subject: [PATCH] Add music tags first --- content.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content.py b/content.py index e39b0d4d7..a4bcb9e88 100644 --- a/content.py +++ b/content.py @@ -208,6 +208,7 @@ def addHtmlTags(baseDir: str,httpPrefix: str, \ if content.startswith('

'): return content content=content.replace('\n',' --linebreak-- ') + content=addMusicTag(content,'nowplaying') words=content.replace(',',' ').replace(';',' ').split(' ') # remove . for words which are not mentions @@ -263,7 +264,6 @@ def addHtmlTags(baseDir: str,httpPrefix: str, \ content=content.replace(wordStr,replaceStr) content=addWebLinks(content) - content=addMusicTag(content,'nowplaying') content=content.replace(' --linebreak-- ','

') return '

'+content+'

'