mirror of https://github.com/Yomguithereal/fog.git
Note
This commit is contained in:
parent
809176ffb6
commit
94b0435e01
|
@ -645,6 +645,7 @@ class WordTokenizer(object):
|
|||
token_value = token_value[1:]
|
||||
token_changed = True
|
||||
|
||||
# NOTE: not an `elif` here because the token type can change is hashtags are splitted
|
||||
if token_type == 'word':
|
||||
if self.lower:
|
||||
token_value = token_value.lower()
|
||||
|
|
Loading…
Reference in New Issue