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