Search code examples
zend-frameworkseo

Meta tags in the same line


I'am using Zend Framework to create web sites. In my layout I write

<?php 
    echo $this->headTitle('Zend Framework');
    $this->headMeta()->appendName('keywords', 'framework php productivity'); 
    $this->headMeta()->appendName('description', 'some description');
    echo $this->headMeta();
?>

In source code meta-title and meta-keywords become in the same line.

<title>Zend Framework</title>          <meta name="keywords" content="framework php productivity" />
<meta name="description" content="some description" /> 

Is it realy matters on Search Optimisation or not?


Solution

  • It does not. You can leave it alone.

    But if you want to have a new line character, you can use:

    $this->headMeta()->setPostfix("\n")