orrg

online rss & atom feed reader for gemini
git clone https://git.clttr.info/orrg.git
Log (Feed) | Files | Refs (Tags) | README | LICENSE

commit 0a7ca079581bd01b63d6769cc34d2d6d40429b4c
parent 8c21cb40de18a1fc4f8cc0ee540a1c021d08d50a
Author: René Wagner <rwagner@rw-net.de>
Date:   Sun, 29 Nov 2020 15:20:34 +0100

modify header linebreaks

Diffstat:
Morrg.pl | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/orrg.pl b/orrg.pl @@ -4,7 +4,6 @@ # https://git.sr.ht/~rwa/orrg use strict; -no warnings 'experimental'; use URI::Escape; use XML::FeedPP; use HTML::Strip; @@ -47,7 +46,8 @@ sub create_response push @body, '# '. $feed->title; push @body, 'fetched '. strftime('%Y-%m-%dT%H:%M:%SZ', gmtime()); - $feed->description eq '' or push @body, ('', $feed->description); + push @body, ''; + $feed->description eq '' or push @body, $feed->description; $feed->image eq '' or push @body, '=> '. $feed->image .' feed image'; $feed->link eq '' or push @body, ('=> '.$feed->link.' open website', '');