We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 2229a4e + 0f1d194 commit 53f87fcCopy full SHA for 53f87fc
src/Resources/contao/templates/mm_attr_translatedfile_alternative.html5
@@ -1,6 +1,6 @@
1
<?php if (is_array($this->src)): ?>
2
<?php foreach($this->src as $arrFile): ?>
3
-<p class="<?= $arrFile['class'] ?><?= $this->additional_class ?>">
+<div class="<?= $arrFile['class'] ?><?= $this->additional_class ?>">
4
<?php if ($arrFile['isPicture'] && $this->settings->get('file_showImage')): ?>
5
<figure class="image_container<?= $arrFile['floatClass'] ?>"<?php if ($arrFile['margin']): ?> style="<?= $arrFile['margin'] ?>"<?php endif; ?>>
6
<?php endif; ?>
@@ -29,6 +29,6 @@
29
30
</figure>
31
32
-</p>
+</div>
33
<?php endforeach; ?>
34
0 commit comments