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}; menuItems[i.id] = {action: i.action, tags: i.tags};
if (i.tags) { if (i.tags) {
i.tags.split(" ").forEach(function(tag) { i.tags.split(" ").forEach(function(tag) {
tags.push(tag); tags.push(tag.replace(/[^a-Z0-9_-]/g, ''));
}); });
} }
} }

View file

@ -13871,7 +13871,7 @@ var module_kemet_festivals_pharaonic = {
{ {
"id": 1988, "id": 1988,
"action": "\"Festival of Khnum-Ra the good protector. Also, making the procession of Thoth in the middle of the house of the two little birds, at the same time, at evening. Union with the disk at sunset.\" (TFC Esna)", "action": "\"Festival of Khnum-Ra the good protector. Also, making the procession of Thoth in the middle of the house of the two little birds, at the same time, at evening. Union with the disk at sunset.\" (TFC Esna)",
"tags": "birds making two khnum-ra protector. little same with good time also middle union sunset. evening. thoth disk" "tags": "birds making two khnum-ra protector little same with good time also middle union sunset. evening. thoth disk"
} }
], ],
[ [