diff --git a/functions.php b/functions.php index 6b722a7ae..7ec46f097 100644 --- a/functions.php +++ b/functions.php @@ -2455,11 +2455,13 @@ $last_version = trim(preg_replace("/(Milestone)|(completed)/", "", $last_item["title"])); $cur_version = preg_replace("/\.99/", "", VERSION); - $release_url = $last_item["link"]; + $release_url = sanitize_rss($last_item["link"]); + $content = sanitize_rss($last_item["description"]); if ($cur_version != $last_version) { - return "
- New version of Tiny-Tiny RSS ($last_version) is available.
"; + return "
+ New version of Tiny-Tiny RSS ($last_version) is available (click for details) +
$content
"; } } } diff --git a/tt-rss.css b/tt-rss.css index d2a4afadd..5f771fe6e 100644 --- a/tt-rss.css +++ b/tt-rss.css @@ -1214,3 +1214,6 @@ table.loginForm2 .innerLoginCell { padding-top : 0.5em; } +#milestoneDetails { + display : none; +}