forward port Thingy newline display fix (Form/Textarea)

This commit is contained in:
Colin Kuskie 2008-11-26 19:13:46 +00:00
parent f0c0c4042d
commit d3f8a075a7
3 changed files with 13 additions and 2 deletions

View file

@ -194,6 +194,7 @@ sub getValueAsHtml {
my $self = shift;
my $value = $self->SUPER::getValueAsHtml(@_);
$value = WebGUI::HTML::filter($value, 'text');
$value =~ s/\n/<br>/sg;
return $value;
}