[Bast-commits] r6145 - ironman/plagger/lib/Plagger
penfold at dev.catalyst.perl.org
penfold at dev.catalyst.perl.org
Wed May 6 12:51:30 GMT 2009
Author: penfold
Date: 2009-05-06 12:51:30 +0000 (Wed, 06 May 2009)
New Revision: 6145
Modified:
ironman/plagger/lib/Plagger/Text.pm
Log:
change ellipsis to [...]
Modified: ironman/plagger/lib/Plagger/Text.pm
===================================================================
--- ironman/plagger/lib/Plagger/Text.pm 2009-05-06 12:38:03 UTC (rev 6144)
+++ ironman/plagger/lib/Plagger/Text.pm 2009-05-06 12:51:30 UTC (rev 6145)
@@ -72,6 +72,7 @@
my $html_truncate = HTML::Truncate->new(repair=>1);
$html_truncate->chars($length);
+ $html_truncate->ellipsis(" [...]");
my $truncated = eval { $html_truncate->truncate($self->html) };
if ($@) {
warn "Truncate failed: $@";
More information about the Bast-commits
mailing list