utils update: moving some parameters to settings
This commit is contained in:
1 parent
8143e21388
commit
24b28e6e4d
5 files changed
+106
-69
No files matched your search
@@ -76,7 +76,16 @@ def text_lower(i):
|
||||
return i.lower()
|
||||
|
||||
|
||||
url_encode_file = iterate_over_fns([translit, space_to_dash, remove_underscores, remove_punctuation, text_lower])
|
||||
url_encode_file = iterate_over_fns([
|
||||
translit,
|
||||
space_to_dash,
|
||||
short_dash,
|
||||
remove_underscores,
|
||||
remove_punctuation,
|
||||
reduce_dashes,
|
||||
text_lower
|
||||
])
|
||||
|
||||
url_encode_text = iterate_over_fns([
|
||||
translit,
|
||||
space_to_dash,
|
||||
|
||||
Reference in new issue
Block a user