mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-20 23:41:28 +00:00
escape quotes in tag cloud
This commit is contained in:
@@ -3967,7 +3967,9 @@
|
|||||||
// and add the $min_size set above
|
// and add the $min_size set above
|
||||||
$size = round($min_size + (($value - $min_qty) * $step));
|
$size = round($min_size + (($value - $min_qty) * $step));
|
||||||
|
|
||||||
echo "<a href=\"javascript:viewfeed('$key') \" style=\"font-size: " .
|
$key_escaped = str_replace("'", "\\'", $key);
|
||||||
|
|
||||||
|
echo "<a href=\"javascript:viewfeed('$key_escaped') \" style=\"font-size: " .
|
||||||
$size . "px\" title=\"$value articles tagged with " .
|
$size . "px\" title=\"$value articles tagged with " .
|
||||||
$key . '">' . $key . '</a> ';
|
$key . '">' . $key . '</a> ';
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user