ID: 39226 Updated by: [EMAIL PROTECTED] Reported By: jdentel91 at comcast dot net -Status: Open +Status: Feedback Bug Type: Unknown/Other Function Operating System: Apache PHP Version: 4.4.2 New Comment:
Yes, please try an other browser first. Previous Comments: ------------------------------------------------------------------------ [2006-10-21 22:02:36] jdentel91 at comcast dot net I cleared my cache and refreshed. There was no change. I use Safari v2.0.4 on a Mac OS X 10.4.8 It might be browser specific... ------------------------------------------------------------------------ [2006-10-21 21:56:05] [EMAIL PROTECTED] I don't see any problems there, every str_replace() is on the separate line. Fix your browser? ------------------------------------------------------------------------ [2006-10-21 21:52:30] jdentel91 at comcast dot net Version ------------------------------------------------------------------------ [2006-10-21 21:49:47] jdentel91 at comcast dot net Description: ------------ I tried to use highlight_file() to highlight a file that includes a lot of str_replace(). It has place many of them into one, with two of the first value, the second value is only one, and the third is the same for them all. This disrupts the displaying of the code. Reproduce code: --------------- http://www.chaoticscripters.com/class.php Expected result: ---------------- The code above is the problem. It is displaying the file with 129 lines of $txt = str_replace('a', '&a;', $text); about half of them placed together so it has 2 lines in one. Actual result: -------------- Look at the URL for the result. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=39226&edit=1