On Apr 10, 2009, at 10:58 AM, Lee.M wrote: > Along w/ the problem of unbalancing tags there is also the white space > issue (e.g. you want 100 characters you could have 'a' . > $ninety_five_spaces . 'b' . $tons_of_text. and the truncated verbiage > is essencially 'a b' > > length of character entities (e.g < == 1 character not 4) > > Fortunately it looks like someone has already addressed all of that > for us :) > > http://search.cpan.org/perldoc?HTML::Truncate
Also, if you want to go the opposite route of just making it plain text: http://search.cpan.org/perldoc?HTML::Obliterate _______________________________________________ templates mailing list [email protected] http://mail.template-toolkit.org/mailman/listinfo/templates
