scuzz schrieb:
> This must be a common question but I couldn't find the answer. I have
> a variable containing html which I want to put in a template as html,
> but genshi is encoding all the tags, so < becomes < etc. The genshi
> docs say the solution is to use the Markup class. But how do I do this
> in TurboGears?
>
<html>
<body>
${Markup(my_html_containing_variable)}
</body>
</html>
Diez
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"TurboGears" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/turbogears?hl=en
-~----------~----~----~----~------~----~------~--~---