mirror of
https://github.com/samuelclay/NewsBlur.git
synced 2025-08-21 05:45:13 +00:00
Don't strip spaces from ios notifications.
This commit is contained in:
parent
6698967021
commit
2a0da7c887
1 changed files with 1 additions and 1 deletions
|
@ -172,7 +172,7 @@ class MUserFeedNotification(mongo.Document):
|
||||||
text = ''
|
text = ''
|
||||||
for elem in element.recursiveChildGenerator():
|
for elem in element.recursiveChildGenerator():
|
||||||
if isinstance(elem, types.StringTypes):
|
if isinstance(elem, types.StringTypes):
|
||||||
text += elem.strip()
|
text += elem
|
||||||
elif elem.name == 'br':
|
elif elem.name == 'br':
|
||||||
text += '\n'
|
text += '\n'
|
||||||
elif elem.name == 'p':
|
elif elem.name == 'p':
|
||||||
|
|
Loading…
Add table
Reference in a new issue