diff --git a/application/wechat/controller/Review.php b/application/wechat/controller/Review.php index eeb586797..b4511a24f 100644 --- a/application/wechat/controller/Review.php +++ b/application/wechat/controller/Review.php @@ -29,7 +29,7 @@ class Review extends Controller { $get = $this->request->get(); // 内容 $content = $this->request->get('content', ''); - $this->assign('content', $content); + $this->assign('content', str_replace("\n", '
', $content)); // 类型 $type = $this->request->get('type', 'text'); $this->assign('type', $type);