summaryrefslogtreecommitdiff
path: root/modules/comment/views/admin_comments.html.php
diff options
context:
space:
mode:
Diffstat (limited to 'modules/comment/views/admin_comments.html.php')
-rw-r--r--modules/comment/views/admin_comments.html.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/comment/views/admin_comments.html.php b/modules/comment/views/admin_comments.html.php
index 588c3ebc..f5970ae1 100644
--- a/modules/comment/views/admin_comments.html.php
+++ b/modules/comment/views/admin_comments.html.php
@@ -122,7 +122,7 @@
<a href="<?= $item->url() ?>">
<? if ($item->has_thumb()): ?>
<img src="<?= $item->thumb_url() ?>"
- alt="<?= html::purify($item->title) ?>"
+ alt="<?= html::purify($item->title)->for_html_attr() ?>"
<?= photo::img_dimensions($item->thumb_width, $item->thumb_height, 75) ?>
/>
<? else: ?>