Skip to content

Commit 53f87fc

Browse files
committed
Merge PR #29 from @MacKP
- Changed p-Tag into div-Tag
2 parents 2229a4e + 0f1d194 commit 53f87fc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Resources/contao/templates/mm_attr_translatedfile_alternative.html5

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php if (is_array($this->src)): ?>
22
<?php foreach($this->src as $arrFile): ?>
3-
<p class="<?= $arrFile['class'] ?><?= $this->additional_class ?>">
3+
<div class="<?= $arrFile['class'] ?><?= $this->additional_class ?>">
44
<?php if ($arrFile['isPicture'] && $this->settings->get('file_showImage')): ?>
55
<figure class="image_container<?= $arrFile['floatClass'] ?>"<?php if ($arrFile['margin']): ?> style="<?= $arrFile['margin'] ?>"<?php endif; ?>>
66
<?php endif; ?>
@@ -29,6 +29,6 @@
2929
<?php endif; ?>
3030
</figure>
3131
<?php endif; ?>
32-
</p>
32+
</div>
3333
<?php endforeach; ?>
3434
<?php endif; ?>

0 commit comments

Comments
 (0)