From: Andrew Dolgov Date: Wed, 20 Mar 2013 05:00:21 +0000 (+0400) Subject: format_inline_player: add a link to original audio file X-Git-Tag: 1.7.5~88 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=44cd77b642df47aef617d74f0571d4354d4be67d;p=tt-rss.git format_inline_player: add a link to original audio file --- diff --git a/include/functions.php b/include/functions.php index 1feedcbf..99c621f5 100644 --- a/include/functions.php +++ b/include/functions.php @@ -2870,6 +2870,8 @@ $entry = ""; + $url = htmlspecialchars($url); + if (strpos($ctype, "audio/") === 0) { if ($_SESSION["hasAudio"] && (strpos($ctype, "ogg") !== false || @@ -2896,7 +2898,8 @@ "; } - if ($entry) $entry .= " " . basename($url); + if ($entry) $entry .= "  " . basename($url) . ""; return $entry;