diff --git a/source/_patterns/04-components/card/card.twig b/source/_patterns/04-components/card/card.twig
index 1e5f8e16703a9efb1351328d8a1c27593923ae4c..0e6616ce54c3410c18538ecde35ab41e090f425d 100644
--- a/source/_patterns/04-components/card/card.twig
+++ b/source/_patterns/04-components/card/card.twig
@@ -72,7 +72,7 @@
       </div>
     {% endif %}
 
-    {% if image and not card_type =='banner' %}
+    {% if image and not card_type == 'banner' %}
       <div class="card__image">
         <img src="{{ image }}" alt="{{ alt }}" />
       </div>