Re: Blank Lines before DOCTYPE

2007-04-09 Thread PaulV
I've sorted it now with the help of Matti. I had extra lines at the end of a helper. I never thought to check those. Paul --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Cake PHP group. To post to this group,

Re: Blank Lines before DOCTYPE

2007-04-09 Thread Chris Lamb
PaulV wrote: I've sorted it now with the help of Matti. I had extra lines at the end of a helper. I never thought to check those. Let's try a bit of magic: $ find -name *.php | xargs sed -i -e :a -e '/^\n*$/{$d;N;ba' -e '}' Removes all trailing newlines from PHP files under the current

Blank Lines before DOCTYPE

2007-04-08 Thread PaulV
Hi, I am using cake 1.13 and I am getting 1 blank line before the DOCTYPE on all my pages. I have checked my layout file and there is no blank line there, Any suggestions how I track down where the extra line is coming from? Paul --~--~-~--~~~---~--~~ You

Re: Blank Lines before DOCTYPE

2007-04-08 Thread PaulV
On 9 Apr, 00:38, PaulV [EMAIL PROTECTED] wrote: Hi, I am using cake 1.13 and I am getting 1 blank line before the DOCTYPE on all my pages. I have checked my layout file and there is no blank line there, Cake version 1.1.13 I have also checked all my model files, controller files which do