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

@ -2,6 +2,7 @@
- fixed #8792: Image Preview gives ERROR in Collateral Manager
- fixed #8774: Forum Rich Edit no longer supports indent/outdent
- fixed #4173: fieldnames in profilefields can contain spaces
- fixed #8811: Bug Tracker: Formatting is bad for the resolution form.
7.6.5
- security: A problem was discovered and fixed in which users could email executable attachments to a collaboration system and then when viewed online, could execute them.

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">';