Zed 6 лет назад
Родитель
Сommit
779187529c
1 измененных файлов с 1 добавлено и 1 удалено
  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),