php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #1552 show_source is extremely ugly and inefficient.
Submitted: 1999-06-16 17:06 UTC Modified: 2001-07-22 12:33 UTC
From: zoot at planetquake dot com Assigned:
Status: Closed Package: Feature/Change Request
PHP Version: 4.0 OS: Linux/Red Hat 5.1
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 this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: zoot at planetquake dot com
New email:
PHP Version: OS:

 

 [1999-06-16 17:06 UTC] zoot at planetquake dot com
The show_source function translates all spaces into "& nbsp ;"'s, which really disturbs tables and makes pages wider. Complete ugliness, and it also wastes bandwidth by sending unnecessary information.

I realize that not replacing the spaces will result in wrapping of the source, perhaps using the <nobr> tag would help?

If not, then perhaps whether or not to translate the spaces should be an argument?

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-02-10 13:27 UTC] jimw@php.net
refiling against 4.0.
 [2001-07-22 12:33 UTC] andy@php.net
closed
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun May 05 23:01:30 2024 UTC