-- navanitachora <[email protected]> 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-tp3062357p3065147.html > Sent from the Zend Framework mailing list archive at Nabble.com. -- Matthew Weier O'Phinney Project Lead | [email protected] Zend Framework | http://framework.zend.com/ PGP key: http://framework.zend.com/zf-matthew-pgp-key.asc
