Skip to content

Commit bf2f6e9

Browse files
authored
[FINNA-3839] Add Markdown support for image copyright description (#3427)
1 parent 42f934a commit bf2f6e9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

themes/finna2/templates/RecordDriver/DefaultRecord/image-rights.phtml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
<?php if ($descriptions): ?>
4747
<div class="copyright<?=$this->truncateLicense ? ' truncate-field' : ''?>">
4848
<?php foreach ($descriptions as $item): ?>
49-
<p><?=$this->transEsc($item)?></p>
49+
<?= $this->recordFieldMarkdown()->toHtml($item) ?>
5050
<?php endforeach ?>
5151
</div>
5252
<?php endif; ?>

0 commit comments

Comments
 (0)