aboutsummaryrefslogtreecommitdiff
path: root/app/Models/Entry.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/Models/Entry.php')
-rw-r--r--app/Models/Entry.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/Models/Entry.php b/app/Models/Entry.php
index 3cf6382dd..fa12ceb66 100644
--- a/app/Models/Entry.php
+++ b/app/Models/Entry.php
@@ -904,7 +904,7 @@ HTML;
}
$cachePath = $feed->cacheFilename($url . '#' . $feed->pathEntries());
- $response = httpGet($url, $cachePath, 'html', $feed->attributes(), $feed->curlOptions());
+ $response = FreshRSS_http_Util::httpGet($url, $cachePath, 'html', $feed->attributes(), $feed->curlOptions());
$html = $response['body'];
if ($html !== '') {
$doc = new DOMDocument();
@@ -979,7 +979,7 @@ HTML;
}
unset($xpath, $doc);
- $html = sanitizeHTML($html, $base);
+ $html = FreshRSS_SimplePieCustom::sanitizeHTML($html, $base);
if ($path_entries_filter !== '') {
// Remove unwanted elements again after sanitizing, for CSS selectors to also match sanitized content