Don't allow newlines in desktop client timeline

merge-requests/30/head
Bob Mottram 2021-03-23 10:56:11 +00:00
parent 02cbf4a2b9
commit 7b13d1e237
1 changed files with 2 additions and 0 deletions

View File

@ -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