Bug #1552 Updated: show_source is extremely ugly and inefficient.
| From: | andy@php.net | Date: | Sun, 22 Jul 2001 16:33:30 +0000 |
| Subject: | Bug #1552 Updated: show_source is extremely ugly and inefficient. | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-60610@lists.php.net to get a copy of this message | ||
ID: 1552
Updated by: andy
Reported By: zoot@planetquake.com
Old Status: Open
Status: Closed
Bug Type: Feature/Change Request
Operating System: Linux/Red Hat 5.1
PHP Version: 4.0
New Comment:
closed
Previous Comments:
------------------------------------------------------------------------
[2001-02-10 13:27:17] jimw@php.net
refiling against 4.0.
------------------------------------------------------------------------
[1999-06-16 17:06:13] zoot@planetquake.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?
------------------------------------------------------------------------
Edit this bug report at http://bugs.php.net/?id=1552&edit=1