package Buzz::Post::Comment; use HTML::Entities; sub new { my $pkg = shift; bless(my $self = { @_ }, $pkg); $self->{text} =~ s{
}{\n}gs; $self->{text} = decode_entities($self->{text}); return($self); }