From a2a34e7a80f2c747e6039543e599a6b9454db873 Mon Sep 17 00:00:00 2001 From: Colin Kuskie Date: Wed, 3 Dec 2008 22:46:51 +0000 Subject: [PATCH] Have AssetAspect comment format its content as HTML, not text. --- docs/changelog/7.x.x.txt | 1 + lib/WebGUI/AssetAspect/Comments.pm | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/changelog/7.x.x.txt b/docs/changelog/7.x.x.txt index c242d8da7..40ed4f952 100644 --- a/docs/changelog/7.x.x.txt +++ b/docs/changelog/7.x.x.txt @@ -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. diff --git a/lib/WebGUI/AssetAspect/Comments.pm b/lib/WebGUI/AssetAspect/Comments.pm index ae9634ff2..3a2023633 100644 --- a/lib/WebGUI/AssetAspect/Comments.pm +++ b/lib/WebGUI/AssetAspect/Comments.pm @@ -257,7 +257,7 @@ sub getFormattedComments { if ($canEdit) { $out .= q{ {id}).q{">[X] }; } - $out .= q{}.$comment->{alias}.q{: "}.WebGUI::HTML::format($comment->{comment},'text').q{"}; + $out .= q{}.$comment->{alias}.q{: "}.WebGUI::HTML::format($comment->{comment},'html').q{"}; } if ($self->canComment) { $out .= '
';