Selaa lähdekoodia

Strip list member bios

Zed 6 vuotta sitten
vanhempi
commit
779187529c
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  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),