USER:BIO: add linebreaks while loading the users biography from the server.
authorWilfried Goesgens <dothebart@citadel.org>
Tue, 17 Jul 2012 11:54:34 +0000 (13:54 +0200)
committerWilfried Goesgens <dothebart@citadel.org>
Tue, 17 Jul 2012 11:54:34 +0000 (13:54 +0200)
webcit/useredit.c

index 743c6f8b8ab6b17a3a4e19716e625f77bdb7fabc..6b407827f1d22e274231a4e0a4028e8a72bf65ab 100644 (file)
@@ -461,8 +461,10 @@ void tmplput_USER_BIO(StrBuf *Target, WCTemplputParams *TP)
                        if ( (StrLength(Buf)==3) && 
                             !strcmp(ChrPtr(Buf), "000")) 
                                Done = 1;
-                       else
+                       else {
                                StrBufAppendBuf(BioBuf, Buf, 0);
+                               StrBufAppendBufPlain(BioBuf, HKEY("\n"), 0);
+                       }
                }
                StrBufAppendTemplate(Target, TP, BioBuf, 1);
                FreeStrBuf(&BioBuf);