diff options
| author | 2019-10-28 12:25:23 +0000 | |
|---|---|---|
| committer | 2019-10-28 12:25:23 +0000 | |
| commit | 07a3ba52224a161f83ec66f72074d861ee7a9449 (patch) | |
| tree | 8c8a22711585af2c5cb7b9ce10e4e0a0ea326116 /modules | |
| parent | _messag_factory._ should take a `tags` arg (diff) | |
| signature | ||
strip '"<>() from <title> words when checking for title/url difference
Diffstat (limited to 'modules')
| -rw-r--r-- | modules/title.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/title.py b/modules/title.py index 73d8c162..9179d279 100644 --- a/modules/title.py +++ b/modules/title.py @@ -26,7 +26,8 @@ class Module(ModuleManager.BaseModule): title_words = [] for title_word in RE_WORDSPLIT.split(title): if len(title_word) > 1 or title_word.isalpha(): - title_words.append(title_word.lower()) + title_word = title_word.lower() + title_words.append(title_word.strip("'\"<>()")) present = 0 for title_word in title_words: |
