jesse wrote:
> 
> <dtml-var "REQUEST.form['list']">
> 
> it comes out with
> 
> line one line two line three
> 
> All the line breaks dissapear! So there is nothing to replace! Does anyone have any 
>ideas how I could solve this problem?

The line breaks don't disappear, they just don't mean anything in HTML. 
You can still replace them.  You can do <dtml-var
"_.string.replace(REQUEST.form['list'], '\n', '<br>')"> and it should do
what you want.

-- 
Nick Garcia | [EMAIL PROTECTED]
CodeIt Computing | http://codeit.com

_______________________________________________
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )

Reply via email to