feed browser: fix feeds with ampersand signs in feed url not being displayed properly

This commit is contained in:
Andrew Dolgov 2010-07-01 11:47:39 +04:00
parent 254ac7059c
commit 2211a391fa
1 changed files with 4 additions and 2 deletions

View File

@ -1556,9 +1556,9 @@
if ($mode == 1) {
$feed_url = htmlspecialchars($line["feed_url"]);
$feed_url = $line["feed_url"];
$subscribers = $line["subscribers"];
$det_result = db_query($link, "SELECT site_url,title,id
FROM ttrss_feeds WHERE feed_url = '$feed_url' LIMIT 1");
@ -1579,6 +1579,8 @@
$class = ($feedctr % 2) ? "even" : "odd";
$feed_url = htmlspecialchars($line["feed_url"]);
if ($details["site_url"]) {
$site_url = "<a target=\"_blank\" href=\"".
htmlspecialchars($details["site_url"])."\">