From: Andrew Dolgov Date: Fri, 18 Dec 2009 08:39:43 +0000 (+0300) Subject: mobile: call sanitize_rss() on article content X-Git-Tag: 1.4.0~165 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=3bac78a05ac1c13a71a86e114482687463572c89;p=tt-rss.git mobile: call sanitize_rss() on article content --- diff --git a/mobile/functions.php b/mobile/functions.php index 5f6256dc..0d235c7d 100644 --- a/mobile/functions.php +++ b/mobile/functions.php @@ -309,10 +309,11 @@ print ""; print ""; - - print "

"; - print $line["content"]; - print "

"; + + $content = sanitize_rss($link, $line["content"]); + $content = preg_replace("/href=/i", "target=\"_blank\" href=", $content); + + print "
$content
"; print "
";