fix: Correct menu item text extraction from name to description and introduce a language splitting utility.

This commit is contained in:
Kantine Wrapper
2026-03-05 12:47:51 +01:00
parent f5f6dddba3
commit 45adfa9d5d
5 changed files with 5 additions and 5 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

2
dist/install.html vendored

File diff suppressed because one or more lines are too long

View File

@@ -3357,7 +3357,7 @@ body {
allWeeks.forEach(w => {
(w.days || []).forEach(d => {
(d.items || []).forEach(item => {
let text = (item.name || '').replace(/\s+/g, ' ').trim();
let text = (item.description || '').replace(/\s+/g, ' ').trim();
if (text && text.includes(' / ')) {
uniqueMenus.add(text);
}