From 2c1ae002c82e0cd3b6837199fa0e58e9fb4647cc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?John=20Ankarstr=C3=B6m?= Date: Fri, 7 May 2021 00:59:10 +0200 Subject: Encode entities in PerlMonks titles and author names --- run/rss | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'run/rss') diff --git a/run/rss b/run/rss index 80256e4..1fdaf09 100755 --- a/run/rss +++ b/run/rss @@ -22,7 +22,7 @@ my @entries = sort { $b->issued <=> $a->issued } $feed->entries; # Print summary of five latest entries for my $entry (@entries[0..4]) { - my $d = encode_entities $entry->issued->strftime('%a, %e %B %Y %H:%M:%S UTC'); + my $d = $entry->issued->strftime('%a, %e %B %Y %H:%M:%S UTC'); my $f = encode_entities decode('utf8', $entry->author); my $s = encode_entities decode('utf8', $entry->title); my $l = encode_entities $entry->link; -- cgit v1.2.3