chr(38) is also rendered as &

regards,
Jos van der Vleuten

-----Original Message-----
From: Passin, Tom
To: Jos van der Vleuten; zope@zope.org
Sent: 25-3-2003 16:28
Subject: RE: [Zope] html space( ) in string

[Jos van der Vleuten]

> The following code-snippet:
>        global space python:[' ;'];
>        global str_html_space python:space[0]*new_len_title;
> would be rendered in html as: ........... ........
> How can i solve this so that it will render a correct html space
( )?

use chr(38) for the ampersand -

chr(38) + 'nbsp;']

Cheers,

Tom P