From 834bc740a4eeef751f546979e6400fd089db64f8 Mon Sep 17 00:00:00 2001 From: im-mi Date: Mon, 29 Aug 2016 00:26:55 -0400 Subject: [PATCH] html_escape data-tags for tags that contain single quotes --- core/basethemelet.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/basethemelet.class.php b/core/basethemelet.class.php index 9bfb1a18..7bd6d355 100644 --- a/core/basethemelet.class.php +++ b/core/basethemelet.class.php @@ -54,7 +54,7 @@ class BaseThemelet { $h_view_link = make_link('post/view/'.$i_id); $h_thumb_link = $image->get_thumb_link(); $h_tip = html_escape($image->get_tooltip()); - $h_tags = strtolower($image->get_tag_list()); + $h_tags = html_escape(strtolower($image->get_tag_list())); $extArr = array_flip(array('swf', 'svg', 'mp3')); //List of thumbless filetypes if(!isset($extArr[$image->ext])){