RE: nl2br misprint

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Please disregard - I read it wrong.

-----Original Message-----
From: Scott DeMers [mailto:demerss1@xxxxxxx]
Sent: Friday, January 21, 2005 6:37 PM
To: php-general@xxxxxxxxxxxxx
Subject:  nl2br misprint


>From the function page on php.net (
http://us4.php.net/manual/en/function.nl2br.php ):

"Starting with PHP 4.0.5, nl2br() is now XHTML compliant. All versions
before 4.0.5 will return string with '<br>' inserted before newlines instead
of '<br />'."

Is this a misprint, ot does the revised function actually do this? According
to the w3c, "<br />' is compliant, while "<br>" is not; see
http://www.w3.org/TR/xhtml1/.

Scott DeMers
Web Coordinator
International Studies and Programs
Michigan State University
209 International Center
East Lansing, MI 48824-1035 U.S.A.
(517)355-2350 | Fax:(517)353-7254
demerss1@xxxxxxx

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux