|
...
|
...
|
@@ -338,7 +338,10 @@ class ProjectUpdate extends Command |
|
|
|
//名称去掉特殊符号
|
|
|
|
$item['ttile'] = $this->special2str($item['ttile'] ?? '');
|
|
|
|
//短描述处理换行
|
|
|
|
$intro = str_replace("\r\n\r\n", "<p>", $item['short_description'] ?? '');
|
|
|
|
$intro = $item['short_description'] ?? '';
|
|
|
|
if (strpos($intro, "\r\n\r\n") !== false) {
|
|
|
|
$intro = "<p>" . str_replace("\r\n\r\n", "</p><p>", $intro) . "</p>";
|
|
|
|
}
|
|
|
|
//详情
|
|
|
|
$content = $item['content'] ?? '';
|
|
|
|
try {
|
...
|
...
|
|