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
 [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: Wed Apr 24 13:01:29 2024 UTC