af_readability: sanitize content requested for embedding

master
Andrew Dolgov 5 years ago
parent 3b635c7557
commit b159bbe55d

@ -303,7 +303,7 @@ class Af_Readability extends Plugin {
$ret = [];
if ($row = $sth->fetch()) {
$ret["content"] = $this->extract_content($row["link"]);
$ret["content"] = sanitize($this->extract_content($row["link"]));
}
print json_encode($ret);

Loading…
Cancel
Save