filter weird symbols

This commit is contained in:
Sublunar Space 2022-09-22 23:13:38 +02:00
parent 367701a4e4
commit a0d22dc5ca
2 changed files with 2 additions and 2 deletions

View file

@ -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, ''));
});
}
}