Update POD in HTML.pm, 'html' is not an option for format content.

Fix Comment formatting in the AssetAspect.
This commit is contained in:
Colin Kuskie 2009-07-10 23:40:57 +00:00
parent b88d96deb5
commit 4376a6770e
3 changed files with 4 additions and 2 deletions

View file

@ -1,5 +1,6 @@
7.7.15 7.7.15
- fixed #10629: WebGUI::ProfileField create new field bug - fixed #10629: WebGUI::ProfileField create new field bug
- fixed #10626: Carriage returns stripped from Wiki comments
7.7.14 7.7.14
- fixed #10606: shelf selector - fixed #10606: shelf selector

View file

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

View file

@ -182,7 +182,8 @@ The text content to be formatted.
=head3 contentType =head3 contentType
The content type to use as formatting. Valid types are 'html', 'text', 'code', and 'mixed'. Defaults to mixed. See also the contentType method in WebGUI::Form, WebGUI::HTMLForm, and WebGUI::FormProcessor. The content type to use as formatting. Valid types are 'text', 'code', and 'mixed'. The default contentType is 'mixed'.
See also the contentType method in WebGUI::Form, WebGUI::HTMLForm, and WebGUI::FormProcessor.
=cut =cut