correctly parses the 'Sa shopping list' string in description
This commit is contained in:
parent
9c961d3d5b
commit
d4712cb693
1 changed files with 2 additions and 0 deletions
|
|
@ -312,6 +312,8 @@ class ProfilePage(PageBase):
|
|||
description += ''.join(c.data.split('\n')) # to strip \n
|
||||
elif hasattr(c, 'tagName') and c.tagName == 'br':
|
||||
description += '\n'
|
||||
elif hasattr(c, 'tagName') and c.tagName == 'i':
|
||||
description += ''.join(c.childNodes[0].data.split('\n'))
|
||||
|
||||
self.description = description
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue