diff options
-rw-r--r-- | include/functions.inc.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/functions.inc.php b/include/functions.inc.php index e69d5ced6..f6b8303b6 100644 --- a/include/functions.inc.php +++ b/include/functions.inc.php @@ -820,7 +820,8 @@ function get_thumbnail_title($info) if (!empty($info['comment'])) { - $title.= ' '.substr($info['comment'], 0, 100).'...'; + $info['comment'] = trigger_event('render_element_description', $info['comment']); + $title.= ' '.substr($info['comment'], 0, 100).(strlen($info['comment']) > 100 ? '...' : ''); } $title = htmlspecialchars(strip_tags($title)); |