mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-15 11:05:57 +00:00
add a hack to prevent loading of stuff for hidden content in unexpanded combined mode (refs #602)
This commit is contained in:
@@ -2609,7 +2609,8 @@
|
||||
}
|
||||
|
||||
if ($entry->nodeName == 'img') {
|
||||
if (get_pref($link, "STRIP_IMAGES", $owner) || $force_remove_images) {
|
||||
if (($owner && get_pref($link, "STRIP_IMAGES", $owner)) ||
|
||||
$force_remove_images) {
|
||||
|
||||
$p = $doc->createElement('p');
|
||||
|
||||
@@ -3633,7 +3634,7 @@
|
||||
array_push($entries, $entry);
|
||||
}
|
||||
|
||||
if (!get_pref($link, "STRIP_IMAGES")) {
|
||||
if ($_SESSION['uid'] && !get_pref($link, "STRIP_IMAGES")) {
|
||||
if ($always_display_enclosures ||
|
||||
!preg_match("/<img/i", $article_content)) {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user