#38902 [Asn->Fbk]: str_replace documentation page has lots of empty whitespace

From: Date: Mon, 08 Oct 2007 12:24:25 +0000
Subject: #38902 [Asn->Fbk]: str_replace documentation page has lots of empty whitespace
References: 1  Groups: php.webmaster 
Request: Send a blank email to php-webmaster+get-184@lists.php.net to get a copy of this message
ID: 38902 Updated by: bjori@php.net Reported By: rgagnon at networkip dot net -Status: Assigned +Status: Feedback Bug Type: Website problem Operating System: N/A PHP Version: Irrelevant Assigned To: bjori New Comment: Does this happen on http://docs.php.net/manual ? Previous Comments: ------------------------------------------------------------------------ [2007-03-28 13:56:50] bjori@php.net The user note (http://us2.php.net/manual/en/function.str-replace.php#25884) had a syntax error causing all sorts of weird problems (depending on the mirrors PHP version). I've edited the note to fix the error. Regarding the non-wrapping elements in the example presentation... I don't know if there really is anything we can do about it... ------------------------------------------------------------------------ [2007-03-10 06:59:21] philip@php.net Although the wrapping problem has been solved, there are two new problems (sorry to hijack reports, but it happens sometimes :) 1. That user comment for str_replace has strange syntax highlighting (<span class="default">)... 2. The issue with http://php.net/highlight-string that Goba mentions has to do with the second example, it's still too wide. Assigning to Hannes the CSS master :) ------------------------------------------------------------------------ [2006-09-22 14:52:36] nlopess@php.net same problem here: http://pt.php.net/manual/en/ini.php ------------------------------------------------------------------------ [2006-09-20 18:04:32] goba@php.net The highlight string page also has non-wrapping examples (not uses notes) on the page. Those should be wrapping, and should not use 'pre' to enclose the output. This one (unlike the str_replace issue) is a problem with the manual build system. ------------------------------------------------------------------------ [2006-09-20 17:59:46] goba@php.net Well, the different between us2 and us3 can also be seen in Firefox. We have a horizontal scrollbar on us2 in Firefox (and a broken layout in IE). This is because http://us2.php.net/manual/en/function.str-replace.php#25884 which is a note too wide to fit into the box. It is not wrapping because it is enclosed in a 'pre' tag. I don't know why we use a 'pre' tag there and why isn't is higlighted... ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/38902 -- Edit this bug report at http://bugs.php.net/?id=38902&edit=1

« previous php.webmaster (#184) next »