Strip list member bios
This commit is contained in:
parent
5979d7f588
commit
779187529c
|
@ -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),
|
||||||
|
|
Loading…
Reference in New Issue