Skip to content

Commit

Permalink
utils: to_kebab_case(): trim * character
Browse files Browse the repository at this point in the history
- fixes #111
  • Loading branch information
nodiscc committed Jul 24, 2023
1 parent 3c3d286 commit 60760cd
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion hecat/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@ def to_kebab_case(string):
')': '',
'&': '',
'/': '',
',': ''
',': '',
'*': ''
}
newstring = string.translate(str.maketrans(replacements)).lower()
return newstring
Expand Down

0 comments on commit 60760cd

Please sign in to comment.