Hi,

I have a kid template like this <div>$myvalue</div>
and in my controller.py, I would like to set that variable to a HTML string, something like
<span style="color:red">a &amp; b</span>

I found in the kid documentation and the mailling archive says that I can use ${XML(myvalue)} to ouput HTML, but it does seem to work with turbogears. When I do this
<div>${XML(myvalue)} in turbogears, I get an exception like this

===========================
File "c:\opt\python24\lib\site-packages\kid-0.7adev_r186-py2.4.egg\kid\pull.py
", line 361, in feed
   raise e
ExpatError: undefined entity: line 1, column 41
===========================

Any sugguestion?

Thanks,

Reply via email to