mirror of
https://github.com/mediacms-io/mediacms.git
synced 2026-01-20 07:12:58 -05:00
w
This commit is contained in:
@@ -974,4 +974,4 @@ def get_alphanumeric_and_spaces(string):
|
|||||||
string = "".join([char for char in string if char.isalnum() or char.isspace()])
|
string = "".join([char for char in string if char.isalnum() or char.isspace()])
|
||||||
# Replace multiple spaces with single space and strip
|
# Replace multiple spaces with single space and strip
|
||||||
string = " ".join(string.split())
|
string = " ".join(string.split())
|
||||||
return string.lower()
|
return string
|
||||||
|
|||||||
Reference in New Issue
Block a user