Re: cvs: php4 /ext/standard string.c
| From: | Zeev Suraski | Date: | Thu, 28 Dec 2000 07:20:39 +0000 |
| Subject: | Re: cvs: php4 /ext/standard string.c | ||
| References: | 1 | Groups: | php.cvs |
| Request: | Send a blank email to php-cvs+get-3312@lists.php.net to get a copy of this message | ||
At 03:02 28/12/2000, Jon Parise wrote:
Are you sure that this is HTML compliant? Zeevjon Wed Dec 27 17:02:45 2000 EDTModified files:/php4/ext/standard string.cLog: Make nl2br() output <br /> instead of <br> to be XHTML compliant.
Bug: 8390 Index: php4/ext/standard/string.c diff -u php4/ext/standard/string.c:1.176 php4/ext/standard/string.c:1.177-- Zeev Suraski <zeev@zend.com> CTO & co-founder, Zend Technologies Ltd. http://www.zend.com/--- php4/ext/standard/string.c:1.176 Fri Dec 22 04:57:08 2000+++ php4/ext/standard/string.c Wed Dec 27 17:02:44 2000 @@ -18,7 +18,7 @@+----------------------------------------------------------------------+*/ -/* $Id: string.c,v 1.176 2000/12/22 12:57:08 zeev Exp $ */ +/* $Id: string.c,v 1.177 2000/12/28 01:02:44 jon Exp $ */ /* Synced with php 3.0 revision 1.193 1999-06-16 [ssb] */ @@ -2323,7 +2323,7 @@convert_to_string_ex(str);- php_char_to_str((*str)->value.str.val,(*str)->value.str.len,'\n',"<br>\n",5,return_value); + php_char_to_str((*str)->value.str.val,(*str)->value.str.len,'\n',"<br />\n",7,return_value); } /* }}} */ -- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-cvs-unsubscribe@lists.php.net For additional commands, e-mail: php-cvs-help@lists.php.net To contact the list administrators, e-mail: php-list-admin@lists.php.net