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>" + \
|
"rel=\"tag\">#<span>" + \
|
||||||
htId + "</span></a>"
|
htId + "</span></a>"
|
||||||
content = postJsonObject['object']['content']
|
content = postJsonObject['object']['content']
|
||||||
|
if hashtagHtml not in content:
|
||||||
if content.endswith('</p>'):
|
if content.endswith('</p>'):
|
||||||
content = \
|
content = \
|
||||||
content[:len(content) - len('</p>')] + \
|
content[:len(content) - len('</p>')] + \
|
||||||
|
|
Loading…
Reference in New Issue