zhoulj 3 years ago
parent
commit
b4e790433a
1 changed files with 1 additions and 1 deletions
  1. 1 1
      app/Http/Controllers/QuickApp/Book/ChapterController.php

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

@@ -491,7 +491,7 @@ class ChapterController extends BaseController
         $chapter->content = trim(str_replace('    ', '  ', $chapter_content->content));
         $chapter->content = trim(str_replace('    ', '  ', $chapter_content->content));
         $chapter->content = trim(str_replace('\r\n\u3000\u3000\r\n\u3000\u3000', '\r\n\u3000\u3000', $chapter_content->content));
         $chapter->content = trim(str_replace('\r\n\u3000\u3000\r\n\u3000\u3000', '\r\n\u3000\u3000', $chapter_content->content));
         $chapter->content = trim(str_replace('\\r\\n\\r\\n', '\\r\\n', $chapter_content->content));
         $chapter->content = trim(str_replace('\\r\\n\\r\\n', '\\r\\n', $chapter_content->content));
-        $chapter->content = trim(str_replace('\u3000\u3000', '\u3000', $chapter_content->content));
+        $chapter->content = trim(str_replace('\\u3000\\u3000', '\\u3000', $chapter_content->content));
         $chapter->content = trim(str_replace('\u3000\u3000', '\u3000', $chapter_content->content));
         $chapter->content = trim(str_replace('\u3000\u3000', '\u3000', $chapter_content->content));
         
         
         \Log::info('getChapter_chapter:'.$bid.' cid:'.$cid.' content:'.json_encode($chapter->content));
         \Log::info('getChapter_chapter:'.$bid.' cid:'.$cid.' content:'.json_encode($chapter->content));