Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork60
blurb: replace spaces with underscores in news directory#499
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Changes from1 commit
0367715
535fc6a
3a84a69
67869b3
36bd99f
66bc9e0
e69848d
e68c9fe
9bb59f4
53ca535
f98656d
53cae52
8e53d4a
acc9e05
22b23c9
3e0a0ba
f63fea1
File filter
Filter by extension
Conversations
Uh oh!
There was an error while loading.Please reload this page.
Jump to
Uh oh!
There was an error while loading.Please reload this page.
Diff view
Diff view
Co-authored-by: Éric <merwok@netwok.org>
- Loading branch information
Uh oh!
There was an error while loading.Please reload this page.
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -111,14 +111,14 @@ | ||
def sanitize_section(section): | ||
""" | ||
Clean up a section string, making it viable as a directory name. | ||
""" | ||
return section.replace("/", "-").replace(" ", "_") | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others.Learn more. To make things more explicit/readable, this could use a There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others.Learn more. Updated. | ||
def sanitize_section_legacy(section): | ||
""" | ||
Clean up a section string, making it viable as a directory name (allow spaces). | ||
""" | ||
return section.replace("/", "-") | ||