title: Header line break in PHPWord
body: <p>I'm attempting to create some templates in PHPWord. With the header and footer I would like to have two phrases on the left and right for each. However, using the code below gives an unnecessary line break. Any advice?</p>
  
  <pre><code>$footer = $section-&gt;addFooter();
  $footer-&gt;addPreserveText(htmlspecialchars('Page {PAGE}', ENT_COMPAT, 'UTF-8'), null, array('alignment' =&gt; 'left'));
  $footer-&gt;addText('Document', null, array('alignment' =&gt; 'right'));
  </code></pre>
  
  <p>Thanks</p>