mirror of
https://github.com/jxxghp/MoviePilot.git
synced 2026-09-05 23:47:41 +08:00
fix: 修正重复的特殊字符
将重复的特殊字符 `—`[U+2014](https://symbl.cc/cn/2014/) 修改为 `―`[U+2015](https://symbl.cc/cn/2015/)
This commit is contained in:
+1
-1
@@ -186,7 +186,7 @@ class StringUtils:
|
|||||||
忽略特殊字符
|
忽略特殊字符
|
||||||
"""
|
"""
|
||||||
# 需要忽略的特殊字符
|
# 需要忽略的特殊字符
|
||||||
CONVERT_EMPTY_CHARS = r"[、.。,,·::;;!!'’\"“”()()\[\]【】「」\-——\+\|\\_/&#~~]"
|
CONVERT_EMPTY_CHARS = r"[、.。,,·::;;!!'’\"“”()()\[\]【】「」\-—―\+\|\\_/&#~~]"
|
||||||
if not text:
|
if not text:
|
||||||
return text
|
return text
|
||||||
if not isinstance(text, list):
|
if not isinstance(text, list):
|
||||||
|
|||||||
Reference in New Issue
Block a user