main
Bob Mottram 2020-10-25 14:37:51 +00:00
parent cc5884a274
commit 38b82391b0
1 changed files with 9 additions and 12 deletions

View File

@ -626,9 +626,6 @@ def convertRSStoActivityPub(baseDir: str, httpPrefix: str,
"\" class=\"addedHashtag\" " + \
"rel=\"tag\">#<span>" + \
htId + "</span></a>"
if tagName in blog['object']['content']:
blog['object']['content'].replace(tagName, hashtagHtml)
else:
content = blog['object']['content']
if hashtagHtml not in content:
if content.endswith('</p>'):