How to make a view which returns HTML code

Hi,

I am writing a view for an addon which returns a piece of HTML code. However, the code is rendered as string instead of HTML code. How can I make the HTML code to be rendered as HTML elements instead of a string?

Thanks,

peijun

As a security measure, the result of a TALES evaluation is (HTML) quoted by default (which prevents rendering). You can use the structure keyword (in tal:content/tal:replace) to prevent this quoting.

Dieter,

I got it. Thanks.

peijun

Plone Foundation Code of Conduct