1
0
Fork 0
mirror of https://github.com/DanielnetoDotCom/YouPHPTube synced 2025-10-05 19:42:38 +02:00
daniel 2020-02-15 08:05:03 -03:00
parent 50831f5d6c
commit 5768f2a98e

View file

@ -32,7 +32,7 @@ String.prototype.stripAccents = function () {
function clean_name(str) {
str = str.stripAccents().toLowerCase();
return str.replace(/\W+/g, "-");
return str.replace(/[!#$&'()*+,/:;=?@[\] ]+/g, "-");
}