From b4e0eeb788c2ff8389da0278fbbba5f26f061ee0 Mon Sep 17 00:00:00 2001 From: Simon Perdrisat Date: Wed, 15 Jul 2020 11:06:40 +0200 Subject: [PATCH] Use the image object in snippets --- snippets/image.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/snippets/image.php b/snippets/image.php index ff70fe4..14e4582 100644 --- a/snippets/image.php +++ b/snippets/image.php @@ -1,11 +1,11 @@ isNotEmpty()): ?> $attrs->css()->value()], ' ') ?>> link()->isNotEmpty()): ?> - - <?= $attrs->alt() ?> - + + + - <?= $attrs->alt() ?> + caption()->isNotEmpty()): ?>