Strip list member bios

This commit is contained in:
Zed 2019-10-23 09:05:35 +02:00
parent 5979d7f588
commit 779187529c
1 changed files with 1 additions and 1 deletions

View File

@ -43,7 +43,7 @@ proc parseListProfile*(profile: XmlNode): Profile =
result = Profile( result = Profile(
fullname: profile.getName(".fullname"), fullname: profile.getName(".fullname"),
username: profile.getUsername(".username"), username: profile.getUsername(".username"),
bio: profile.getBio(".bio"), bio: profile.getBio(".bio").stripText(),
userpic: profile.getAvatar(".avatar"), userpic: profile.getAvatar(".avatar"),
verified: isVerified(profile), verified: isVerified(profile),
protected: isProtected(profile), protected: isProtected(profile),