From 3ab65d2a17c451ac97ce6fa5b6a1215ea1b14182 Mon Sep 17 00:00:00 2001 From: TheThomaas Date: Wed, 16 Sep 2026 14:44:32 +0200 Subject: [PATCH] Update cookcli-recipe-strategy.js --- dist/cookcli-recipe-strategy.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dist/cookcli-recipe-strategy.js b/dist/cookcli-recipe-strategy.js index 38b9e8f..9ff4648 100644 --- a/dist/cookcli-recipe-strategy.js +++ b/dist/cookcli-recipe-strategy.js @@ -249,7 +249,7 @@ class CookCliRecipeViewStrategy extends HTMLElement { : ""; return `- ${qty ? `**${qty}** ` : ""}${item.name}`; }); - if (lines !== "") { + if (lines.trim() !== "") { leftCards.push({ type: "markdown", content: lines.join("\n") }); } }