sas Fri Feb 23 07:39:20 2001 EDT
Modified files:
/php3/functions string.c
Log:
Backport xhtml change for nl2br
Index: php3/functions/string.c
diff -u php3/functions/string.c:1.216 php3/functions/string.c:1.217
--- php3/functions/string.c:1.216 Sat Dec 16 18:14:44 2000
+++ php3/functions/string.c Fri Feb 23 07:39:19 2001
@@ -30,7 +30,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: string.c,v 1.216 2000/12/17 02:14:44 sas Exp $ */
+/* $Id: string.c,v 1.217 2001/02/23 15:39:19 sas Exp $ */
#include <stdio.h>
#include "php.h"
#include "internal_functions.h"
@@ -1775,7 +1775,7 @@
convert_to_string(str);
-
_php3_char_to_str(str->value.str.val,str->value.str.len,'\n',"<br>\n",5,return_value);
+ _php3_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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]