From 690335c4ef9c44ed4b013579792e6a4ebd0889b3 Mon Sep 17 00:00:00 2001 From: KotaHv <92137267+KotaHv@users.noreply.github.com> Date: Thu, 1 Feb 2024 10:33:19 +0800 Subject: [PATCH] fix: Resolve issue #679 --- backend/src/module/parser/analyser/raw_parser.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/src/module/parser/analyser/raw_parser.py b/backend/src/module/parser/analyser/raw_parser.py index 3f28197b..0c8e036f 100644 --- a/backend/src/module/parser/analyser/raw_parser.py +++ b/backend/src/module/parser/analyser/raw_parser.py @@ -131,7 +131,7 @@ def clean_sub(sub: str | None) -> str | None: def process(raw_title: str): - raw_title = raw_title.strip() + raw_title = raw_title.strip().replace("\n", "") content_title = pre_process(raw_title) # 预处理标题 group = get_group(content_title)