From 1992a777be5374c2139475c99de3d842e38b7e53 Mon Sep 17 00:00:00 2001 From: pecesama Date: Tue, 28 Oct 2008 05:31:19 +0000 Subject: [PATCH] Fixed Issue 58 --- index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.php b/index.php index 4a0c1b3..ff96591 100644 --- a/index.php +++ b/index.php @@ -294,7 +294,7 @@ $theme = new themes; $answers['Id_Comment'] = $rowComment["id_comment"]; $answers['Comment_Author'] = $commentAuthor; $answers['Date'] = gmdate("d.m.y", strtotime($rowComment["comment_date"])+transform_offset($conf->offsetTime)); - $answers['Comment'] = $rowComment["content"]; + $answers['Comment'] = nl2br($rowComment["content"]); $comments[] = $answers; }