作者 刘锟

合并分支 'akun' 到 'master'

Akun



查看合并请求 !1725
... ... @@ -339,8 +339,8 @@ class ProjectUpdate extends Command
$item['ttile'] = $this->special2str($item['ttile'] ?? '');
//短描述处理换行
$intro = $item['short_description'] ?? '';
if (strpos($intro, "\r\n\r\n") !== false) {
$intro = "<p>" . str_replace("\r\n\r\n", "</p><p>", $intro) . "</p>";
if (strpos($intro, "\r\n") !== false) {
$intro = "<p>" . str_replace("\r\n", "</p><p>", $intro) . "</p>";
}
//详情
$content = $item['content'] ?? '';
... ...