Refactored deep and store modules to use entities.
This commit is contained in:
@@ -45,7 +45,7 @@ function slugify(string, delimiter = '-', {
|
||||
return string;
|
||||
}
|
||||
|
||||
const slugComponents = string.trim().toLowerCase().match(/[A-Za-zÀ-ÖØ-öø-ÿ]+/g);
|
||||
const slugComponents = string.trim().toLowerCase().match(/[A-Za-zÀ-ÖØ-öø-ÿ0-9]+/g);
|
||||
|
||||
if (!slugComponents) {
|
||||
return '';
|
||||
|
||||
Reference in New Issue
Block a user