[PHP-DEV] Bug #11904: ext/standard/string.c patch for nl2br()

2001-07-05 Thread reaster
From: [EMAIL PROTECTED] Operating system: Linux 2.4.6 Slackware PHP version: 4.0.6 PHP Bug Type: Unknown/Other Function Bug description: ext/standard/string.c patch for nl2br() I suggest the following patch for string.c to fix the nl2br() function. Instead of replacing "\n

[PHP-DEV] Bug #11904 Updated: ext/standard/string.c patch for nl2br()

2001-07-06 Thread reaster
ID: 11904 User Update by: [EMAIL PROTECTED] Status: Assigned Bug Type: Unknown/Other Function Operating system: Linux 2.4.6 Slackware PHP Version: 4.0.6 Description: ext/standard/string.c patch for nl2br() I see ... newline on Mac is just a carriage return '\r' (#000D). Newline on Unix is just