I've got a site that uses PHP and uses several template files combined to produce 1 web page .
The problem is a lot of these templates have php tags in them and these create line breaks when 'view source' of the web page.
example
%%aaa%%
%%bbb%%
%%ccc%%
there variables cause empty line breaks when their function is not needed.
A lot of those tags are in the html templates themself.
Any way to condense / compress all the gaps ?
the apache type compression doesn't work for these files...for example the stuff you could put in .htaccess
I need something more specific or in-file to close the gaps.
Like is there something (javascript or something else) I could place in the
Header template and end in the
Footer template that to help close the gaps / or compress ?