#33199 [Csd->Ana]: Oversized page
| From: | dave@php.net | Date: | Wed, 01 Jun 2005 04:19:20 +0000 |
| Subject: | #33199 [Csd->Ana]: Oversized page | ||
| References: | 1 | Groups: | php.mirrors |
| Request: | Send a blank email to php-mirrors+get-28277@lists.php.net to get a copy of this message | ||
ID: 33199
Updated by: dave@php.net
Reported By: tommy at apt dot no
-Status: Closed
+Status: Analyzed
Bug Type: Website problem
PHP Version: Irrelevant
New Comment:
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.
Previous Comments:
------------------------------------------------------------------------
[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.
------------------------------------------------------------------------
[2005-05-31 11:53:29] tommy at apt dot no
Description:
------------
The manual page for preg_match is stretched horizontally so that it
scrolls sideways, for some reason:
http://no.php.net/preg_match
Same problem in IE and Mozilla
Reproduce code:
---------------
None
Expected result:
----------------
None
Actual result:
--------------
None
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=33199&edit=1