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
>

-- 


-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to