html_escape tag info link

This commit is contained in:
im-mi 2016-08-29 01:07:44 -04:00 committed by Shish
parent e7403819a7
commit 1bab0051f1

View file

@ -216,7 +216,7 @@ class TagListTheme extends Themelet {
$count = $row['calc_count'];
// if($n++) $display_html .= "\n<br/>";
if(!is_null($config->get_string('info_link'))) {
$link = str_replace('$tag', $tag, $config->get_string('info_link'));
$link = html_escape(str_replace('$tag', $tag, $config->get_string('info_link')));
$display_html .= ' <a class="tag_info_link'.$tag_category_css.'" '.$tag_category_style.'href="'.$link.'">?</a>';
}
$link = $this->tag_link($row['tag']);