From 869393b6ab6c36455d918c0f2f709dcc991a330f Mon Sep 17 00:00:00 2001 From: ghost Date: Sat, 2 Sep 2023 00:16:35 +0300 Subject: [PATCH] fix magnet links in RSS feed --- src/public/index.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/public/index.php b/src/public/index.php index 9a41a77..24e8b5c 100644 --- a/src/public/index.php +++ b/src/public/index.php @@ -165,14 +165,14 @@ echo '' . PHP_EOL ?> <?php echo WEBSITE_NAME ?> - /index.phpquery ? sprintf('?query=%s', urlencode($request->query)) : false ?> + query ? sprintf('?query=%s', urlencode($request->query)) : false) ?> magnets as $magnet) { ?> access->read) { ?> <?php echo htmlspecialchars($magnet->metaTitle, ENT_QUOTES, 'UTF-8') ?> - #magnet-magnetId ?> metaDescription), ENT_QUOTES, 'UTF-8') ?> - #magnet-magnetId ?> + magnetId) ?> + magnetId) ?>