From 348338f75cf74c077c77f04b785d0f16a8bdf892 Mon Sep 17 00:00:00 2001 From: xcffl <--list> Date: Mon, 2 Mar 2020 22:48:17 +0800 Subject: [PATCH] Remove Chinese special chars in titles --- src/calibre/ebooks/metadata/sources/base.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/calibre/ebooks/metadata/sources/base.py b/src/calibre/ebooks/metadata/sources/base.py index db52433514..bd7ed3d9a0 100644 --- a/src/calibre/ebooks/metadata/sources/base.py +++ b/src/calibre/ebooks/metadata/sources/base.py @@ -384,7 +384,7 @@ class Source(Plugin): # Remove hyphens only if they have whitespace before them (r'(\s-)', ' '), # Replace other special chars with a space - (r'''[:,;!@$%^&*(){}.`~"\s\[\]/]''', ' '), + (r'''[:,;!@$%^&*(){}.`~"\s\[\]/]《》''', ' '), ]] for pat, repl in title_patterns: