mirror of
https://github.com/DanielnetoDotCom/YouPHPTube
synced 2025-10-05 19:42:38 +02:00
This commit is contained in:
parent
50831f5d6c
commit
5768f2a98e
1 changed files with 1 additions and 1 deletions
|
@ -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, "-");
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue