Re: main.c change

From: Date: Fri, 08 Mar 2002 11:09:42 +0000
Subject: Re: main.c change
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-80925@lists.php.net to get a copy of this message
Yeah, you're right. I'll comment that part out. It doesn't make much sense to convert spaces to   in any of the phpinfo() output. Only place where it would make sense to do it how I did is if some string is indented with spaces. As we know, plain spaces are cut to one by browsers but making them '  ' shows them correctly. About wordwrap(), maybe there should be a parameter for php_html_puts() to make it wrap when wanted? --Jani On Fri, 8 Mar 2002, Sascha Schumann wrote: > Hm, it does not make much sense to convert ' ' to '  ', > because the original purpose of this function is to preserve > the structure of the plain text. > > So, the change is basically equivalent in terms of output > formatting to removing the conversion. > > If this is a severe problem, I'd suggest #ifdef'ing it out > for now. > > If we are really concerned about proper formatting, we could > also pass potentially long strings through wordwrap(). > > - Sascha Experience IRCG > http://schumann.cx/ > http://schumann.cx/ircg > --

« previous php.dev (#80925) next »