Explorar o código

Strip list member bios

Zed %!s(int64=6) %!d(string=hai) anos
pai
achega
779187529c
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/parser.nim

+ 1 - 1
src/parser.nim

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