瀏覽代碼

Fixed Issue 58

pecesama 16 年之前
父節點
當前提交
1992a777be
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      index.php

+ 1 - 1
index.php 查看文件

@@ -294,7 +294,7 @@ $theme = new themes;
294 294
 						$answers['Id_Comment'] = $rowComment["id_comment"];
295 295
 						$answers['Comment_Author'] = $commentAuthor;
296 296
 						$answers['Date'] = gmdate("d.m.y", strtotime($rowComment["comment_date"])+transform_offset($conf->offsetTime));
297
-						$answers['Comment'] = $rowComment["content"];
297
+						$answers['Comment'] = nl2br($rowComment["content"]);
298 298
 
299 299
 						$comments[] = $answers;
300 300
 					}