diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/functions.inc.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/functions.inc.php b/include/functions.inc.php index fb0671e6b..25cce8b70 100644 --- a/include/functions.inc.php +++ b/include/functions.inc.php @@ -818,7 +818,7 @@ function get_thumbnail_title($info) $title.= ' '.substr($info['comment'], 0, 100).'...'; } - $title = strip_tags($title); + $title = htmlspecialchars(strip_tags($title)); $title = trigger_event('get_thumbnail_title', $title, $info); |