Show More
@@ -85,7 +85,8 b' def repo_name_slug(value):' | |||||
85 | replacement_char = '-' |
|
85 | replacement_char = '-' | |
86 |
|
86 | |||
87 | slug = remove_formatting(value) |
|
87 | slug = remove_formatting(value) | |
88 |
slug = SLUG_BAD_CHAR_RE.sub( |
|
88 | slug = SLUG_BAD_CHAR_RE.sub('', slug) | |
|
89 | slug = re.sub('[\s]+', '-', slug) | |||
89 | slug = collapse(slug, replacement_char) |
|
90 | slug = collapse(slug, replacement_char) | |
90 | return slug |
|
91 | return slug | |
91 |
|
92 |
General Comments 0
You need to be logged in to leave comments.
Login now