Re: show_source or highlight_string wrapping
| From: | Red Wingate | Date: | Tue, 20 Apr 2004 09:07:11 +0000 |
| Subject: | Re: show_source or highlight_string wrapping | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-183936@lists.php.net to get a copy of this message | ||
Red Wingate wrote:
> Aidan Lister wrote:
>
>> Why do these functions wrap at approximately 80 chars? It's stupid! How
>> can this be worked around?
>
> It doesn't check the source to see that the browser wraps the text as it
> reaches the border of the window.
Oh just another note, use <nobr> to skip this limitation :-)
<nobr>
<?php
hightlight_file ( '...' );
?>
</nobr>