From: Wilfried Goesgens Date: Tue, 17 Jul 2012 11:54:34 +0000 (+0200) Subject: USER:BIO: add linebreaks while loading the users biography from the server. X-Git-Tag: v8.14~14 X-Git-Url: https://code.citadel.org/?p=citadel.git;a=commitdiff_plain;h=7cabeea6da9a3197dcb61eca4f7c2886b33d6257 USER:BIO: add linebreaks while loading the users biography from the server. --- diff --git a/webcit/useredit.c b/webcit/useredit.c index 743c6f8b8..6b407827f 100644 --- a/webcit/useredit.c +++ b/webcit/useredit.c @@ -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);