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

Renewed update to work with spaces in categories #4

Merged
merged 1 commit into from Mar 21, 2013

Conversation

pragtich
Copy link

@pragtich pragtich commented Feb 7, 2013

I updated postfiles.rb to work with posts that have a space in the category. Unlike the previous contributor, I noticed that spaces (and I assume other special characters) got escaped by Jekyll before storing in the post.id. So for example "this category" would get an id starting with "/this%20category/" instead of "/this category/".

Did not check what caused this change in behaviour, assuming something changed in jekyll.

Tested it only on a small site of my own (not an experienced Ruby programmer yet), so please review carefully.

@indirect
Copy link
Owner

This seems legit. Thanks!

indirect added a commit that referenced this pull request Mar 21, 2013
Renewed update to work with spaces in categories
@indirect indirect merged commit 0f9f454 into indirect:master Mar 21, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants