X-Git-Url: https://git.sesse.net/?p=webpdf;a=blobdiff_plain;f=last.pl;h=58e8a2146a0a487e18bb25192497e73e672435b2;hp=e668edfb799a4ab85a41a10dd19661e2531646b5;hb=8a306b3d0f351d8fa0efc3b8cc9b4fde45c08c0a;hpb=b943073892273418899c8187f9055d7faede1a0d diff --git a/last.pl b/last.pl index e668edf..58e8a21 100755 --- a/last.pl +++ b/last.pl @@ -48,7 +48,7 @@ for my $t (@thumbnails[0..$num_last-1]) { close DESC; if (length($desc) > 30) { - $desc = substr $desc, 0, 30; + $desc = substr($desc, 0, 30) . " ..."; } $desc = HTML::Entities::encode_entities($desc);