[更新]修改微信手机预览

This commit is contained in:
Anyon 2017-05-12 17:18:42 +08:00
parent 3d2410ca07
commit 6ca1bc7bf8

View File

@ -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", '<br>', $content));
// 类型
$type = $this->request->get('type', 'text');
$this->assign('type', $type);