Florian Ludwig wrote:

> I tried <div>&nbsp;</div> to get the results i wanted...
> but it always ends with a <div /> ...

I cannot reproduce this. I get <div>\xa0</div> with output encoding utf-8 and <div>&#160;</div> with output encoding ascii.

> Something that shouldnt happen is if you using:
> <div class="topLogo" py:content="&nbsp;" />
>
> You get this python error:
>
> File "/var/www/kizzes/svn/trunk/tpl/design.py", line 86
>   _cont =             ^

Yes, the error message is strange, but remember py:content is a Python expression so you should have written py:content="u'&nbsp;'".

-- Christoph


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
kid-template-discuss mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/kid-template-discuss

Reply via email to