diff --git a/apps/common/util/split_model.py b/apps/common/util/split_model.py index 5194bffea98..81b253531c9 100644 --- a/apps/common/util/split_model.py +++ b/apps/common/util/split_model.py @@ -344,9 +344,9 @@ def parse(self, text: str): 'content' in item and len(item.get('content').strip()) > 0] def post_reset_paragraph(self, paragraph: Dict, title_list: List[str]): - result = self.filter_title_special_characters(paragraph) + result = self.content_is_null(paragraph, title_list) + result = self.filter_title_special_characters(result) result = self.sub_title(result) - result = self.content_is_null(result, title_list) return result @staticmethod