Node.js based forum software built for the modern web
fixed #1661
Julian Lamb655474150eb
diff --git a/public/src/utils.js b/public/src/utils.jsindex 712171ea04..84f9567927 100644--- a/public/src/utils.js+++ b/public/src/utils.js@@ -113,12 +113,12 @@//http://dense13.com/blog/2009/05/03/converting-string-to-slug-javascript/slugify: function(str) {str = str.replace(utils.trimRegex, '');- str = str.toLowerCase();if(utils.isLatin.test(str)) {str = str.replace(utils.invalidLatinChars, '-');} else {str = XRegExp.replace(str, utils.invalidUnicodeChars, '-');}+ str = str.toLocaleLowerCase();str = str.replace(utils.collapseWhitespace, '-')str = str.replace(utils.collapseDash, '-');str = str.replace(utils.trimTrailingDash, '');