Vylepšení začištění názvů jídel

This commit is contained in:
Martin Berka 2023-09-24 08:45:47 +02:00
parent e4451e299a
commit dc9d1d0e9a

View File

@ -34,7 +34,7 @@ const capitalize = (word: string): string => {
} }
const sanitizeText = (text: string): string => { const sanitizeText = (text: string): string => {
return text.replace('\t', '').trim(); return text.replace('\t', '').replace(' , ', ', ').trim();
} }
/** /**