From: Andrew Dolgov Date: Fri, 2 Aug 2013 10:41:01 +0000 (+0400) Subject: api: pass article id to sanitize X-Git-Tag: 1.10~37 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=d208abc933e7f1499189a219d5c6f36ba585719f;p=tt-rss.git api: pass article id to sanitize --- diff --git a/classes/api.php b/classes/api.php index e9ffc63d..4330b3dc 100644 --- a/classes/api.php +++ b/classes/api.php @@ -678,7 +678,7 @@ class API extends Handler { $headline_row["content"] = sanitize( $line["content"], sql_bool_to_bool($line['hide_images']), - false, $line["site_url"]); + false, $line["site_url"], false, $line["id"]); } else { $headline_row["content"] = $line["content"]; }