Forum OpenACS Q&A: Re: General Comments on adp pages

Collapse
Posted by yo ha on
Joel,

In relation to the piece of code to grab the comments and displaying it in the adp page, when i tried to use your code the comments were displayed with plain text format in the adp page. The HTML tags were not interpreted. Is there something that im missing???

*****
code to grab the comments from the object with id $temp
set comments_html [general_comments_get_comments -print_content_p 1 -print_attachments_p 1 $temp]

*****
adp page

<a href="@comment_link@">Add a comment</a>
<p>@comments_html@

Thanks.