little tweeks

This commit is contained in:
2025-07-07 14:52:22 +02:00
parent a6d226769c
commit cbe9efbdc8
3 changed files with 2 additions and 19 deletions

View File

@@ -9,7 +9,7 @@ from ansible.errors import AnsibleFilterError
def slugify(name):
"""Convert a display name to a simple-icons slug format."""
# Replace spaces and uppercase letters
return re.sub(r'\s+', '-', name.strip().lower())
return re.sub(r'\s+', '', name.strip().lower())
def add_simpleicon_source(cards, domains, web_protocol='https'):