"Derick Rethans" <[EMAIL PROTECTED]> wrote in message 
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> On Fri, 22 Jun 2001, lenar wrote:
> 
> > Shouldn't there be an optional flag to nl2br to change the behavior of function to 
>what it used to be.
> > Just there's no point in <br /> like tags when the rest of your code is just 
>generating HTML compliant output,
> > not XHTML.
> 
> <br /> is HTML compliant too, and there is no single browser who doesn't
> get it.

But it's not the behaviour up to today of this function. And I suggested only optional 
flag for getting old behavior.
Like nl2br(string text [boolean html]).

And to avoid rest, I say it more clearly: I agree it should generate XHTML 
_by_default_.

lenar
> 



--
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to