RE: [PHP] cleaning up html output from php in apache

2004-04-10 Thread Jason Sheets
If you use Smarty you can use the {trim} m Otherwise you can also use output buffering to grab the output buffer and remove the sapces that you want. Note that you can't actually remove all whitespace as this sometimes has the side effect of breaking cetain scripts, etc. I'd rather implement g

Re: [PHP] cleaning up html output from php in apache

2004-04-10 Thread Merlin
Htmltidy I found it on the net, but it lacks on documentation. Is this a tool to include into apache as a library which cleans up each php generated html page? thanx merlin Electroteque wrote: Htmltidy ? -Original Message- From: Merlin [mailto:[EMAIL PROTECTED] Sent: Saturday, April 1

RE: [PHP] cleaning up html output from php in apache

2004-04-10 Thread electroteque
Htmltidy ? > -Original Message- > From: Merlin [mailto:[EMAIL PROTECTED] > Sent: Saturday, April 10, 2004 5:04 PM > To: [EMAIL PROTECTED] > Subject: [PHP] cleaning up html output from php in apache > > > Hi there, > > I am searching for a way to strip the white spaces from each > php ge