diff --git a/backend/app/services/orchestrator/steps.py b/backend/app/services/orchestrator/steps.py index 1c411af..b64bc37 100644 --- a/backend/app/services/orchestrator/steps.py +++ b/backend/app/services/orchestrator/steps.py @@ -170,9 +170,9 @@ def step_email(run: "WeeklyRun", db: "Session") -> None: if all_ingredients: shop_rows = "".join( f"{html.escape(name)}" - f"{html.escape(qty)} {html.escape(unit)}" - f"{html.escape(grocery)}" - f"{html.escape(price)}" + f"{html.escape(str(qty))} {html.escape(str(unit))}" + f"{html.escape(str(grocery))}" + f"{html.escape(str(price))}" for name, (qty, unit, grocery, price) in all_ingredients.items() ) shopping_preview = (