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 = '🔇'
|
||||
if postJsonObject['object'].get('bookmarks'):
|
||||
content = '🔖' + content
|
||||
if '\n' in content:
|
||||
content = content.replace('\n', ' ')
|
||||
print(indent + str(posStr) + ' | ' + name + ' | ' +
|
||||
published + ' | ' + content)
|
||||
ctr += 1
|
||||
|
|
Loading…
Reference in New Issue