httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From matt farey <matt.fa...@gmail.com>
Subject Re: [users@httpd] Stripping white space from HTML
Date Tue, 13 Mar 2007 17:19:58 GMT


Grant wrote:
>> > Great news!  This was fixed by changing the push line to:
>> >
>> > push @out, $_ unless /^\s*$/;
>> >
>> > Thanks a lot for everyone's help.
>>
>> A 15 byte solution. :) I expected something like that would be simpler
>> than running a separate php script to do it all. ;)
>
> Yeah, that was my fault.
>
> - Grant

dont worry about it Grant. I'm pleased you got it sorted in an elegant way!
Is the buffer line by line? Or does it miss some blank lines due to them
being "inside" a block of lines within the buffer?

-- 
Matt



---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message