[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.

------_=_NextPart_001_01C2F2B8.0BAA9C70
Content-Type: text/plain;
	charset="iso-8859-1"

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

regards, 
Jos van der Vleuten



------_=_NextPart_001_01C2F2B8.0BAA9C70
Content-Type: text/html;
	charset="iso-8859-1"

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<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>
</HEAD>
<BODY>

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

<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>

<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>
</P>
<BR>

</BODY>
</HTML>
------_=_NextPart_001_01C2F2B8.0BAA9C70--