Update story cleanup script

pull/797/head
terakilobyte 2015-05-31 18:44:43 -04:00
parent d0ce7f930a
commit 1fca589805
1 changed files with 1 additions and 1 deletions

View File

@ -18,8 +18,8 @@ function storyLinkCleanup(cb) {
console.log(i++);
this.pause();
story.storyLink = story.storyLink.
replace(/\s+/g, ' ').
replace(/[^a-z0-9\s]/gi, '').
replace(/\s+/g, ' ').
toLowerCase().
trim();
story.save(function (err) {