From 83d9034fdeac3340cc5ac0d7a4e9124396f66564 Mon Sep 17 00:00:00 2001 From: swag Date: Thu, 1 Jun 2023 23:28:05 -0400 Subject: [PATCH] Fix RSS validation --- lib/PostText/Controller/Thread.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/PostText/Controller/Thread.pm b/lib/PostText/Controller/Thread.pm index 12f75d2..020914b 100644 --- a/lib/PostText/Controller/Thread.pm +++ b/lib/PostText/Controller/Thread.pm @@ -109,7 +109,7 @@ sub feed($self) { lastBuildDate => time2str('%a, %d %b %Y %X %z', time), atom => { link => { - href => $rss_link, + href => "$rss_link", # This has to be quoted idk why rel => 'self', type => 'application/rss+xml' } @@ -118,7 +118,7 @@ sub feed($self) { $rss->image( title => $rss_title, url => $rss_image, - link => $rss_link, + link => $chan_link, width => 144, height => 144, description => 'A small nerdy anime girl'