Commit d4712cb6 authored by Romain Bignon's avatar Romain Bignon

correctly parses the 'Sa shopping list' string in description

parent 9c961d3d
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment