소스 검색

Strip list member bios

Zed 6 년 전
부모
커밋
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),