[Zope] newline_to_br without breaking source code

Robert Rottermann robert@redcor.ch
Fri, 15 Feb 2002 12:32:02 +0100


Hi,
I think I understand your problem, but not why you run into it.

Why do you not just omit the newline_to_br part where you use it in
Javascript?

Mabe you do have to explain your problem a bit better:

Robert
----- Original Message -----
From: <webmaster@winkelmaenner.de>
To: <zope@zope.org>
Sent: Friday, February 15, 2002 9:01 AM
Subject: [Zope] newline_to_br without breaking source code


> Hello,
>
> i want to use a textarea form input in a java script and also in html
tags.
> Wenn i use the newline_to_br attribut it works fine in html, but it breaks
the source code. This is no matter in html, but in javascript.
>
> In javascript i want only the <br> but no linebreak.
>
> Does anybody has an solution for my problem ?
> Thanks Harry
>
>
>
> _______________________________________________
> Zope maillist  -  Zope@zope.org
> 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 )
>