Re: [PATCH][ZE2] zend_highlight.c <font> change

From: Date: Fri, 31 Oct 2003 15:42:02 +0000
Subject: Re: [PATCH][ZE2] zend_highlight.c <font> change
References: 1 2  Groups: php.internals 
Request: Send a blank email to internals+get-5151@lists.php.net to get a copy of this message
On Wed, 2003-10-29 at 22:31, Greg Beaver wrote: > Lisa, > > With my testing, <br />\n causes a double line break in Netscape Mail > and Internet Explorer 6 on windows. However, using \n inside <pre> > instead of <br /> works in both browsers. For my test, I took the page > at > http://pear.php.net/manual/en/core.pear.pear.seterrorhandling.php > and > > replaced the <br /> with \n. I've uploaded a copy to: > > http://www.chiaraquartet.net/test_br.html > > I would appreciate it if people with older versions of Netscape/IE, any > version of Mozilla, Opera, Konqueror, etc. would take a look and speak > up if the example doesn't work correctly. The purpose of the \n (and \t) was to break up the outputted html source. During my browser testing, Opera 7.21, Netscape 4.76, Mozilla 1.5, and IE 6 all behaved normally: Within the pre-formatted <code> blocks, all of the test browsers did not display any problems. That is to say, the existing <br /> put page breaks, and the new \n introduced a carriage return in the html source. I would dare say the behavior of Netscape Mail (double line break) is exclusive to it. I could not reproduce any double line break in IE 6 (with the requisite service packs and security patches). With regards to your test page, it looks fine (rendered and source) with Opera 7.21. -- Regards, -Lisa <Vix ulla tam iniqua pax, quin bello vel aequissimo sit potior>

Attachment: [application/pgp-signature] This is a digitally signed message part signature.asc
« previous php.internals (#5151) next »