Quote:
Originally Posted by princeton
I added this to a project I'm currently working on ... and I think it's great.
I modified the expression ...
$vartext = preg_replace ("'([\r\t\n])[\s]+'", "", $vartext);
this has been tested only on a non-public vb3 forum
it seems to compress more then the original (view attachment) and it doesn't remove the "space" between the ....
|
Thanks for sharing the info. I haven't tested it yet but from the apperance it looks like it can be the cure for guys who are having visual problems. So after I tested it, I plan to add it to the hack code and make it user selectable inside the code so that everybody can select the compression method as they like.
But I'm confused how come it compresses more than my line as your line seems to remove successive spaces and my line removes them all. BTW it is also weird the original source sizes are different in your each screenshots (as if they belong to different pages?)..