mirror of https://gitlab.com/bashrc2/epicyon
Indentation
parent
43096d087a
commit
574dc9d975
|
@ -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>')] + \
|
||||
|
|
Loading…
Reference in New Issue