jchris/sofa — Issue #15: Can't create new post with non-English title.
Author: hummermania
Created: 2011-11-21 15:01:48+00:00
State: open

Can't create new post with non-English title because in the lib/blog.js the regexp /\W/g - replace all char wich is not in Latin. I suggest to replace this expr. to :

var str = string.replace(/[\p{L}]/g,'-'). ...

Get it from http://www.regular-expressions.info/unicode.html and tested - good work.
But this can create doc with the id in non-English letter in the db. =)

Sorry of my english.
Markevich Alexander.