zhoulj 3 年之前
父节点
当前提交
757afbee53
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      app/Http/Controllers/QuickApp/Book/ChapterController.php

+ 1 - 1
app/Http/Controllers/QuickApp/Book/ChapterController.php

@@ -489,7 +489,7 @@ class ChapterController extends BaseController
         $chapter->content = trim(str_replace($chapter_content->name, '', $chapter_content->content));
         $chapter->content = trim(str_replace($chapter_content->name, '', $chapter_content->content));
         // 格式特殊处理
         // 格式特殊处理
         $chapter->content = trim(str_replace('    ', '  ', $chapter_content->content));
         $chapter->content = trim(str_replace('    ', '  ', $chapter_content->content));
-//         $chapter->content = trim(str_replace('\n\n', '\n', $chapter_content->content));
+        $chapter->content = trim(str_replace('\r\n\u3000\u3000\r\n\u3000\u3000', '\r\n\u3000\u3000', $chapter_content->content));
         
         
         //统计点击率
         //统计点击率
         $key   = 'book_click_num_bid_' . $bid;
         $key   = 'book_click_num_bid_' . $bid;