Skip to content
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature Request: Allow tags with spaces #84

Open
rossbar opened this issue Jul 11, 2022 · 2 comments
Open

Feature Request: Allow tags with spaces #84

rossbar opened this issue Jul 11, 2022 · 2 comments
Labels
enhancement New feature or request

Comments

@rossbar
Copy link
Member

rossbar commented Jul 11, 2022

This is a super minor feature, but it'd be nice (IMO) to allow post tags to have spaces, e.g. "traveling salesman problem". The current problem with this is that the tag is directly translated to a URL, so the spaces result in an invalid address. Perhaps this feature would be as easy as adding something along the lines of {{ tag.replace(" ", "-") }} in one the template/partial for the /tags page?

Not a big deal, just a potential tiny improvement. The current behavior is also fine so long as authors know their tags should contain only URL-safe characters.

@rossbar rossbar added the enhancement New feature or request label Jul 11, 2022
@jarrodmillman
Copy link
Member

Go for it!

@stefanv
Copy link
Member

stefanv commented Aug 15, 2024

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants