[Bast-commits] r6092 - ironman/plagger/lib/Plagger
penfold at dev.catalyst.perl.org
penfold at dev.catalyst.perl.org
Fri May 1 15:19:36 GMT 2009
Author: penfold
Date: 2009-05-01 16:19:36 +0100 (Fri, 01 May 2009)
New Revision: 6092
Modified:
ironman/plagger/lib/Plagger/Text.pm
Log:
add repair=>1 to HTML::Truncate constructor
Modified: ironman/plagger/lib/Plagger/Text.pm
===================================================================
--- ironman/plagger/lib/Plagger/Text.pm 2009-05-01 15:19:14 UTC (rev 6091)
+++ ironman/plagger/lib/Plagger/Text.pm 2009-05-01 15:19:36 UTC (rev 6092)
@@ -70,7 +70,7 @@
my $self = shift;
my $length = shift || 300;
- my $html_truncate = HTML::Truncate->new();
+ my $html_truncate = HTML::Truncate->new(repair=>1);
$html_truncate->chars($length);
return $html_truncate->truncate($self->html);
}
More information about the Bast-commits
mailing list