zhoulj 3 년 전
부모
커밋
53c0db653e
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      app/Http/Controllers/QuickApp/Book/ChapterController.php

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

@@ -494,6 +494,7 @@ class ChapterController extends BaseController
         $chapter->content = str_replace($qian,$hou,$chapter->content);
         // 2换行变1换行
         $chapter->content = str_replace("\n\n", "\n", $chapter->content);
+        $chapter->content = str_replace("\n\n", "\n", $chapter->content);
         
 //         \Log::info('getChapter_chapter:'.$bid.' cid:'.$cid);
 //         \Log::info($chapter->content);