For Programmers: Free Programming Magazines  


Home > Archive > PHP Mirrors > September 2006 > #33199 [Ver->Csd]: Oversized page









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author #33199 [Ver->Csd]: Oversized page
bjori@php.net

2006-09-28, 6:57 pm

ID: 33199
Updated by: bjori@php.net
Reported By: tommy at apt dot no
-Status: Verified
+Status: Closed
Bug Type: Website problem
PHP Version: Irrelevant
-Assigned To:
+Assigned To: dave
New Comment:

This bug has been fixed in CVS. Since the websites are not directly
updated from the CVS server, the fix might need some time to spread
across the globe to all mirror sites, including PHP.net itself.

Thank you for the report, and for helping us make PHP.net better.

Thanks for the patch dave!


Previous Comments:
------------------------------------------------------------------------

[2005-06-01 06:19:18] dave@php.net

The underlying cause hasn't been fixed though.

The problem is when highlighted code fails the syntax check,
phpweb/include/layout.inc:27:

if(strstr($highlighted,"include/layout.inc</b>")) $highlighted =
"<pre>".htmlentities($code)."</pre>";

This should probably be replaced with:

if(strstr($highlighted,"include/layout.inc</b>")) $highlighted = '<span
class="default">'.htmlentities($code)."</span>";

or something similar.

------------------------------------------------------------------------

[2005-06-01 00:06:03] mazzanet@php.net

This has been fixed as someone has removed the 'offending' note.

------------------------------------------------------------------------

[2005-05-31 14:12:34] richard dot quadling at bandvulc dot co dot uk

Ha. Wrapped (as in contained in) and wrapped (as in broken to fit
inside a window).

The <pre> shouldn't be there.

------------------------------------------------------------------------

[2005-05-31 13:56:47] vrana@php.net

It seems that the problem is caused by user notes which are not wrapped
inside <pre>.

------------------------------------------------------------------------

[2005-05-31 13:29:47] richard dot quadling at bandvulc dot co dot uk

The usernote submitted by sam at macrepublic dot com on 29-May-2005 at
12:41 contains <pre>long single line of 536 letters ...</pre>.

The <pre> tag causes the browser to NOT wrap the line.

How the <pre> tag got there for this note and not others, I am not
sure.

Richard.

------------------------------------------------------------------------

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/33199

--
Edit this bug report at http://bugs.php.net/?id=33199&edit=1
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com