|
@@ -488,7 +488,8 @@ class ChapterController extends BaseController
|
|
|
if (!$chapter_content) return false;
|
|
|
$chapter->content = trim(str_replace($chapter_content->name, '', $chapter_content->content));
|
|
|
// 格式特殊处理
|
|
|
- $chapter->content = str_replace(' ', '', $chapter->content);
|
|
|
+ $chapter->content = str_replace(' ', '', $chapter->content);
|
|
|
+ $chapter->content = preg_replace('# #', '', $chapter->content);
|
|
|
|
|
|
\Log::info('getChapter_chapter:'.$bid.' cid:'.$cid);
|
|
|
\Log::info($chapter->content);
|