Update POD in HTML.pm, 'html' is not an option for format content.
Fix Comment formatting in the AssetAspect.
This commit is contained in:
parent
b88d96deb5
commit
4376a6770e
3 changed files with 4 additions and 2 deletions
|
|
@ -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},'html').q{"</div>};
|
||||
$out .= q{<b>}.$comment->{alias}.q{:</b> "}.WebGUI::HTML::format($comment->{comment},'text').q{"</div>};
|
||||
}
|
||||
if ($self->canComment) {
|
||||
$out .= '<div class="assetAspectCommentForm">';
|
||||
|
|
|
|||
|
|
@ -182,7 +182,8 @@ The text content to be formatted.
|
|||
|
||||
=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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue