Re: \n and <br>

From: Date: Tue, 11 Nov 2003 11:22:57 +0000
Subject: Re: \n and <br>
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-169161@lists.php.net to get a copy of this message
Chris Shiflett wrote:
--- Eugene Lee <list-php-1@fsck.net> wrote:
Warning: nl2br() is not safe because it emits "<br />" tags which do not always work on all browsers (especially browsers not explicitly advertised to be XHTML-compliant).
Can you name a single browser that cannot properly render a <br /> tag?
I know NN 4.x has problems with <br/> /found this out the hard way/ but I don't know of any browser that can't render <br />. Although I would love to be proved wrong here :P -- Burhan Khalid phplist[at]meidomus[dot]com http://www.meidomus.com ----------------------- "Documentation is like sex: when it is good, it is very, very good; and when it is bad, it is better than nothing."

« previous php.general (#169161) next »