title: Suppress Blank Space between two line of Text in PHPWord
body: <p>I'm attempting to create word file using <strong>PHPWord</strong>. I have set some font styles and paragraph styles.Even without giving textbreaks i am getting 6 lines of <strong>blank spaces</strong> between line1 and line2. Any advice?</p>
  
  <p>Here is my code</p>
  
  <pre><code>    $this-&gt;word-&gt;addFontStyle('titleStyle', array('bold' =&gt; true, 'size' =&gt; 16, 'name'=&gt;'Calibri'));
      $this-&gt;word-&gt;addFontStyle('lineStyle', array('align'=&gt;'left','size' =&gt; 10, 'name'=&gt;'Calibri'));
      $this-&gt;word-&gt;addParagraphStyle('pStyle', array('align' =&gt; 'center', 'spaceBefore' =&gt; 0, 'spaceAfter' =&gt; 0, 'spacing' =&gt; 0));
  
      $section = $this-&gt;word-&gt;createSection(array('breakType'=&gt;'continuous'));
  
      // Simple text
      $section-&gt;addText('Text Document','titleStyle','pStyle');
  
      $section-&gt;addText('Line1 : ','lineStyle');      
      $section-&gt;addText('Line2 : ','lineStyle');      
      $section-&gt;addText('Line3 : ','lineStyle');          
      $section-&gt;addText('Line4 : ','lineStyle');          
  
  
      $filename='NewDoc.docx'; //save our document as this file name
      header('Content-Type: application/vnd.openxmlformats-officedocument.wordprocessingml.document'); //mime type
      header('Content-Disposition: attachment;filename="'.$filename.'"'); //tell browser what's the file name
      header('Cache-Control: max-age=0'); //no cache
  
      $objWriter = PHPWord_IOFactory::createWriter($this-&gt;word, 'Word2007');
      $objWriter-&gt;save('php://output');
  </code></pre>
  
  <p>any help will be appreciated.</p>
  
  <p>Below is my output file which is being generated.
  <a href="https://i.stack.imgur.com/54sjJ.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/54sjJ.png" alt="enter image description here"></a></p>