cvs: php4 /ext/standard string.c
| From: | Jon Parise | Date: | Thu, 28 Dec 2000 01:02:45 +0000 |
| Subject: | cvs: php4 /ext/standard string.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-3311@lists.php.net to get a copy of this message | ||
jon Wed Dec 27 17:02:45 2000 EDT
Modified files:
/php4/ext/standard string.c
Log:
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
--- 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);
}
/* }}} */