GustavoFernandes / order-splitter

https://gustavofernandes.github.io/order-splitter/
MIT License
3 stars 3 forks source link

Splitter doesn't handle & anywhere #49

Open tucamsam opened 7 years ago

tucamsam commented 7 years ago

Can't order any PB&J or M&Ms:

M&Ms - $12 Mom PB&J - $13 PBJ Lover

Similarly, can't use & to connect names:

$12 M&M $13 PB&J

GustavoFernandes commented 7 years ago

The formatting is not correct. If you change it to

M&Ms - $12
Label for:Mom
PB&J - $13
Label for:PBJ Lover

and similarly

$12
Label for:M&M
$13
Label for:PB&J

it seems to work correctly. There is an issue to handle hand-written orders (#46).