diff options
author | John Ankarström <john@ankarstrom.se> | 2021-05-07 00:59:10 +0200 |
---|---|---|
committer | John Ankarström <john@ankarstrom.se> | 2021-05-07 00:59:10 +0200 |
commit | 2c1ae002c82e0cd3b6837199fa0e58e9fb4647cc (patch) | |
tree | 750a8a1da674ad9a53281d164a58dc72a5821f4a /run/rss | |
parent | daebe74b0a08df5685aedee63480936d5d98fbc2 (diff) | |
download | perlisdead-2c1ae002c82e0cd3b6837199fa0e58e9fb4647cc.tar.gz |
Encode entities in PerlMonks titles and author names
Diffstat (limited to 'run/rss')
-rwxr-xr-x | run/rss | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; |