note 17352 rejected from function.nl2br by zak

From: Date: Thu, 06 Dec 2001 11:37:44 +0000
Subject: note 17352 rejected from function.nl2br by zak
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-21687@lists.php.net to get a copy of this message
When I use nl2br, there's a new line before and after <BR /> Is that normal ? This results in a bug when used with JavaScript after: <SCRIPT> displayTextArea( "hello <BR /> how are you ?" ); </SCRIPT> I want: <SCRIPT> displayTextArea( "hello<BR />how are you ?" ); </SCRIPT>

« previous php.notes (#21687) next »