From 7cabeea6da9a3197dcb61eca4f7c2886b33d6257 Mon Sep 17 00:00:00 2001 From: Wilfried Goesgens Date: Tue, 17 Jul 2012 13:54:34 +0200 Subject: [PATCH] USER:BIO: add linebreaks while loading the users biography from the server. --- webcit/useredit.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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); -- 2.30.2