mirror of https://gitlab.com/bashrc2/epicyon
Don't allow newlines in desktop client timeline
parent
02cbf4a2b9
commit
7b13d1e237
|
@ -928,6 +928,8 @@ def _desktopShowBox(boxName: str, boxJson: {},
|
||||||
content = '🔇'
|
content = '🔇'
|
||||||
if postJsonObject['object'].get('bookmarks'):
|
if postJsonObject['object'].get('bookmarks'):
|
||||||
content = '🔖' + content
|
content = '🔖' + content
|
||||||
|
if '\n' in content:
|
||||||
|
content = content.replace('\n', ' ')
|
||||||
print(indent + str(posStr) + ' | ' + name + ' | ' +
|
print(indent + str(posStr) + ' | ' + name + ' | ' +
|
||||||
published + ' | ' + content)
|
published + ' | ' + content)
|
||||||
ctr += 1
|
ctr += 1
|
||||||
|
|
Loading…
Reference in New Issue