Skip to content

Commit

Permalink
Merge pull request #1492 from fukuchi/improve-views
Browse files Browse the repository at this point in the history
Sanitize the item's description in browse view.
  • Loading branch information
zerocrates authored Jan 9, 2020
2 parents 03b8965 + f63edb2 commit f1cf1cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion application/view/omeka/site/item/browse.phtml
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ foreach ($items as $item):
<?php echo $item->linkRaw($this->thumbnail($item, 'medium')); ?>
<h4><?php echo $item->link($heading); ?></h4>
<?php if ($body): ?>
<div class="description"><?php echo $body; ?></div>
<div class="description"><?php echo $escape($body); ?></div>
<?php endif; ?>
</li>
<?php endforeach; ?>
Expand Down

0 comments on commit f1cf1cf

Please sign in to comment.