aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--rss.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/rss.php b/rss.php
index dee7576..4bdf20d 100644
--- a/rss.php
+++ b/rss.php
@@ -349,7 +349,7 @@ $base = parse_url($_SERVER["REQUEST_URI"], PHP_URL_PATH);
<?php if(count($entry['images']??[])): ?>
<div class="rss-images">
<?php foreach($entry['images'] as $media): ?>
- <img loading="lazy" src="<?= $media ?>"></object>
+ <a target="<?= $config['link_target'] ?>" href="<?= $media ?>"><img loading="lazy" src="<?= $media ?>" /></a>
<?php endforeach; ?>
</div>
<?php endif; ?>
@@ -373,7 +373,7 @@ $base = parse_url($_SERVER["REQUEST_URI"], PHP_URL_PATH);
<?php if(!isset($entry['title'])): ?>
&bullet;
- <a href="<?= $entry['link'] ?>">Source</a>
+ <a target="<?= $config['link_target'] ?>" href="<?= $entry['link'] ?>">Source</a>
<?php endif; ?>
&bullet;