php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #32077 the strpos() function page is unreadable
Submitted: 2005-02-23 10:27 UTC Modified: 2005-02-23 10:38 UTC
From: php at atu dot cjb dot net Assigned:
Status: Closed Package: Website problem
PHP Version: Irrelevant OS: N/A
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: php at atu dot cjb dot net
New email:
PHP Version: OS:

 

 [2005-02-23 10:27 UTC] php at atu dot cjb dot net
Description:
------------
The page is very far scrolled horizontally for at least the past few months.  Looking over the source HTML briefly, I do not see why.  Tested the same problem in Opera 8.0/X11, Links 2.1Pre16/console and Dillo 0.8.4/X11.  I thought it might be a CSS problem at first, except Dillo and Links don't support CSS.

Okay, I just figured it out.  One user added a <pre> tag at the starting of their long textual post.  It might be useful to disallow this tag by people making comments to prevent this on other pages.

Could you remove this particular commenters <pre> tag on this page ?  I have ended up on that page several times lately and it would be totally unusable if not for Opera's "Fit to screen width" feature.

One other note:

When people submit comments to php.net using Win32 browsers, it inserts a Carriage Return (ASCII 13) at the end of every line, and php.net does not bother to remove these when posting the comments.  It is not a big deal, but it does make the HTML source look fairly ugly in Vim, and is adding a lot of unecessary characters to the web site.

Reproduce code:
---------------
N/A

Expected result:
----------------
N/A

Actual result:
--------------
N/A

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2005-02-23 10:38 UTC] derick@php.net
I think we already do that for new posts so nothing to do there. I also removed the <pre> tag from the post. Please if you find more, tell us which exact note it is on a page, as that saves us time finding it again.

The change will propagate to the mirrors over the next day.

regards,
Derick
 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Sun Jun 14 18:00:01 2026 UTC