Vylepšení začištění názvů jídel
This commit is contained in:
parent
e4451e299a
commit
dc9d1d0e9a
@ -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();
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
x
Reference in New Issue
Block a user