filter weird symbols
This commit is contained in:
parent
367701a4e4
commit
a0d22dc5ca
2 changed files with 2 additions and 2 deletions
|
|
@ -457,7 +457,7 @@ SL.Calendar = (function() {
|
|||
menuItems[i.id] = {action: i.action, tags: i.tags};
|
||||
if (i.tags) {
|
||||
i.tags.split(" ").forEach(function(tag) {
|
||||
tags.push(tag);
|
||||
tags.push(tag.replace(/[^a-Z0-9_-]/g, ''));
|
||||
});
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue