Indentation

main
Bob Mottram 2020-10-18 13:53:23 +01:00
parent 43096d087a
commit 574dc9d975
1 changed files with 58 additions and 57 deletions

View File

@ -289,6 +289,7 @@ def newswireHashtagProcessing(session, baseDir: str, postJsonObject: {},
"rel=\"tag\">#<span>" + \
htId + "</span></a>"
content = postJsonObject['object']['content']
if hashtagHtml not in content:
if content.endswith('</p>'):
content = \
content[:len(content) - len('</p>')] + \