|
Posted by Geoff Berrow on 06/09/06 21:07
Message-ID: <1149878029.315129.193540@u72g2000cwu.googlegroups.com> from
John Dunlop contained the following:
>> I never heard about a case where <br /> did cause any problem...
>
> I can think of a couple. For example, validation. <br /> means
>something different in HTML than it does in XHTML. In HTML, '/' closes
>the tag and '>' is treated literally. Not a big problem, maybe, but
>probably not what you meant.
It is annoying though that nl2br() only returns <br /> Would it be so
difficult to include a switch so that it could output <br> ?
--
Geoff Berrow (put thecat out to email)
It's only Usenet, no one dies.
My opinions, not the committee's, mine.
Simple RFDs http://www.ckdog.co.uk/rfdmaker/
[Back to original message]
|