[Zope] Re: spaces to  

Maik Jablonski maik.jablonski@uni-bielefeld.de
Fri, 14 Feb 2003 14:40:47 +0100


Ulla Theiss wrote:
> Hi list,
> 
> does anybody know, if there is a possibility in dtml, to let a dtml-var
> replace spaces to non breaking 
> spaces ( )?
> 
> like
> 
> <dtml-var ... newline_to_br>

Maybe you can use something like:

<dtml-call "REQUEST.set('teststring','This is a test')">
<dtml-var "teststring.replace(' ','&nbsp;')">

-mj

-- 
German Zope User Group (DZUG) - http://www.dzug.org/