Skip to content
This repository has been archived by the owner on Nov 19, 2019. It is now read-only.

Fix: Allow posts with underscores in the filename #11

Merged
merged 1 commit into from Dec 27, 2012

Conversation

nowaterlili
Copy link
Contributor

I just realized while using the new version on a site that had a couple of posts with underscores in the filename that they were not working anymore.

This is a regression I introduced when adding the timestamp functionality and went unnoticed. I fixed it and added tests to avoid this happening again.

I also changed it so that if you want to generate a post with underscores in it, they won't be removed by the generator when creating the default title.

jasoncodes added a commit that referenced this pull request Dec 27, 2012
* pr/11:
  Improve name of underscored slug example.
  Fix: Allow posts with underscores in the filename
@jasoncodes jasoncodes merged commit 75166d2 into ennova:master Dec 27, 2012
@jasoncodes
Copy link
Member

We always use dashes in our slugs but there's no reason to force this. Thanks for the patch.

Fixed in 0.0.6.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants