Warning

This document hasn't been checked for compatibility with current versions of Plone. Use at your own risk.

Why do I see HTML tags verbatim in my output?

I've created/edited a PageTemplate, and I'm seeing HTML tags verbatim in the output. Why?

« Back to Table of Contents

You need to use the expression "structure" before your TALES expression. By default (for good security reasons), HTML output is quoted by Zope Page Templates.

So, instead of

<p tal:content="my_var" />

Say:

<p tal:content="structure my_var" />