diff --git a/orrg.pl b/orrg.pl
index 71a558897c02ce80027afedcfd402460d3cf0041..7d4a9bf834d306ca23fa7c023542f5454a899efc 100755
--- a/orrg.pl
+++ b/orrg.pl
@@ -69,13 +69,13 @@ $title =~ s/^\s+//ig;
$title =~ s/\s+$//ig;
$link =~ s/^\s+//ig;
$link =~ s/\s+$//ig;
- push @item, ($it->description ne '' || $it->pubDate ne '')? '## '. $title : $title;
+ push @item, (($it->description ne '' && $it->description ne $it->title) || $it->pubDate ne '')? '## '. $title : $title;
if ($it->pubDate ne '') {
my $dt = DateTime::Format::ISO8601->parse_datetime($it->pubDate);
push @item, 'published '. strftime('%Y-%m-%dT%H:%M:%SZ', gmtime($dt->epoch));
push @item, '';
}
- if ($it->description ne '') {
+ if ($it->description ne '' && $it->description ne $it->title) {
my $desc = $it->description;
$desc =~ s/\<li\>/* /igm;
$desc =~ s/\<h[1-2][^\>]+\>/### /igm;