#33199 [Ana->Ver]: Oversized page
| From: | sniper@php.net | Date: | Tue, 20 Sep 2005 11:12:21 +0000 |
| Subject: | #33199 [Ana->Ver]: Oversized page | ||
| References: | 1 | Groups: | php.mirrors |
| Request: | Send a blank email to php-mirrors+get-29376@lists.php.net to get a copy of this message | ||
ID: 33199
Updated by: sniper@php.net
Reported By: tommy at apt dot no
-Status: Analyzed
+Status: Verified
Bug Type: Website problem
PHP Version: Irrelevant
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