I have tried taking out the \n from each line that does not take of the space <meta name="" content=""(space)>.
Taking out the \n only makes the meta tags or whatever else start on the previous line instead of the next line in this case the first meta tag starts on the same line as the head tag. I have also tried putting $this->headTitle() $this->headMeta() $this->headLink() all on the same line and still there is no change. Is this a bug in the rendering engine in just 1.10 or has this been around for a while. Thanks for your help. On Tuesday 30 November 2010 06:59 PM, weierophinney [via Zend Framework Community] wrote: > -- navanitachora <[hidden email] > </user/SendEmail.jtp?type=node&node=3065367&i=0>> wrote > (on Tuesday, 30 November 2010, 02:43 AM -0800): > > > > > Dear Christian, > > > > Thanks for your e-mail. > > > > My layout script is below: > > > > ------------------------------------------------- > > <!-- application/layouts/scripts/layout.phtml --> > > <?php echo $this->doctype() . "\n"?> > > <html lang="en"> > > <head> > > <?php echo $this->headTitle() . "\n" ?> > > <?php echo $this->headMeta() . "\n" ?> > > <?php echo $this->headLink() . "\n" ?> > > You're essentially doing two line endings in the above -- the explicit > "\n", as well as the \n after the closing ?> tags. Is that the extra > space you're talking about? If so, just get rid of the '. "\n"' from > each line. > > > </head> > > <body> > > <p>this is a paragraph</p> > > </body> > > </html> > > ------------------------------------------------- > > > > Hope that helps. > > > > Thanks. > > > > On Tuesday 30 November 2010 02:24 PM, Christian Riesen [via Zend > > Framework Community] wrote: > > > Hi > > > > > > It would help to see the actual code where you call it, say for > > > example, your layout script. That already might contain what you are > > > looking for. > > > -- View this message in context: http://zend-framework-community.634137.n4.nabble.com/Meta-tags-rendering-and-indentation-issues-tp3062357p3065392.html Sent from the Zend Framework mailing list archive at Nabble.com.
