Have AssetAspect comment format its content as HTML, not text.

This commit is contained in:
Colin Kuskie 2008-12-03 22:46:51 +00:00
parent 49cbf11ed2
commit a2a34e7a80
2 changed files with 2 additions and 1 deletions

View file

@ -257,7 +257,7 @@ sub getFormattedComments {
if ($canEdit) {
$out .= q{ <a href="}.$self->getUrl("func=deleteComment;commentId=".$comment->{id}).q{">[X]</a> };
}
$out .= q{<b>}.$comment->{alias}.q{:</b> "}.WebGUI::HTML::format($comment->{comment},'text').q{"</div>};
$out .= q{<b>}.$comment->{alias}.q{:</b> "}.WebGUI::HTML::format($comment->{comment},'html').q{"</div>};
}
if ($self->canComment) {
$out .= '<div class="assetAspectCommentForm">';