diff --git a/custom_components/cookcli/www/cookcli-recipe-strategy.js b/custom_components/cookcli/www/cookcli-recipe-strategy.js index 12d51b8..94ad661 100644 --- a/custom_components/cookcli/www/cookcli-recipe-strategy.js +++ b/custom_components/cookcli/www/cookcli-recipe-strategy.js @@ -226,16 +226,17 @@ class CookCliRecipeViewStrategy extends HTMLElement { const cards = [{ type: "markdown", content, - card_mod: ` - style: | - img { - width: 100%; - aspect-ratio: 16 / 10; - object-fit: cover; - border-radius: 12px; - margin-bottom: 8px; - } - ` + card_mod:` + style: + ha-markdown: + $: | + img { + width: 100%; + aspect-ratio: 16 / 10; + object-fit: cover; + border-radius: 12px; + margin-bottom: 8px; + }` }]; const rightCards = [];