[Zope] html space( ) in string

Jos van der Vleuten Jos.van.der.Vleuten@transiciel.nl
Tue, 25 Mar 2003 11:19:40 +0100

This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

Content-Type: text/plain;

Hello all,

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 ( )?

Jos van der Vleuten

Content-Type: text/html;

<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 5.5.2653.12">
<TITLE>html space(&amp;nbsp;) in string</TITLE>

<P><FONT SIZE=2 FACE="Arial">Hello all,</FONT>

<P><FONT SIZE=2 FACE="Arial">The following code-snippet:</FONT>
<BR><FONT SIZE=2 FACE="Arial">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; global space python:['&amp;nbsp;;'];</FONT>
<BR><FONT SIZE=2 FACE="Arial">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; global str_html_space python:space[0]*new_len_title;</FONT>
<BR><FONT SIZE=2 FACE="Arial">would be rendered in html as: ...........&amp;amp;nbsp;........</FONT>
<BR><FONT SIZE=2 FACE="Arial">How can i solve this so that it will render a correct html space (&amp;nbsp;)?</FONT>

<P><FONT SIZE=2 FACE="Arial">regards, </FONT>
<BR><FONT SIZE=2 FACE="Arial">Jos van der Vleuten<U></U></FONT><U></U><U></U>