Bug #1552: show_source is extremely ugly and inefficient.

From: Date: Wed, 16 Jun 1999 21:06:14 +0000
Subject: Bug #1552: show_source is extremely ugly and inefficient.
Groups: php.dev 
Request: Send a blank email to php-dev+get-7041@lists.php.net to get a copy of this message
From: zoot@planetquake.com Operating system: Linux/Red Hat 5.1 PHP version: 3.0.9 PHP Bug Type: Feature/Change Request Bug description: show_source is extremely ugly and inefficient. 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?

« previous php.dev (#7041) next »