diff --git a/cookbook/tests/other/test_ingredient_parser.py b/cookbook/tests/other/test_ingredient_parser.py index 020d729dc..b64c04565 100644 --- a/cookbook/tests/other/test_ingredient_parser.py +++ b/cookbook/tests/other/test_ingredient_parser.py @@ -75,6 +75,8 @@ def test_ingredient_parser(): # an amount # and it starts with a lowercase letter, then that # is a unit ("etwas", "evtl.") does not apply to English tho + # TODO maybe add/improve support for weired stuff like this https://www.rainbownourishments.com/vegan-lemon-tart/#recipe + ingredient_parser = IngredientParser(None, False, ignore_automations=True) count = 0 diff --git a/vue/src/apps/ImportView/ImportViewStepEditor.vue b/vue/src/apps/ImportView/ImportViewStepEditor.vue index 3a5b5a091..ec2caf495 100644 --- a/vue/src/apps/ImportView/ImportViewStepEditor.vue +++ b/vue/src/apps/ImportView/ImportViewStepEditor.vue @@ -24,10 +24,10 @@ - {{ i.amount }} - {{ i.unit.name }} - {{ i.food.name }} - ({{ i.original_text }}) + {{ i.amount.toFixed(2) }} + {{ i.unit.name }} + {{ i.food.name }} + {{ i.original_text }}