Vylepšení začištění názvů jídel
This commit is contained in:
1 parent
e4451e299a
commit
dc9d1d0e9a
1 file changed
+1
-1
@@ -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();
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in new issue
Block a user