title: fpdf ignoring \n line break in multiCell or WriteHTML
body: <p>I have a 6 column quote form which I build using fpdf using the MultiCell feature. My issue is that in the 3rd column I have the description which has multiple lines of text that need a line break. You can see that replacing the html entity with \n only prints the character \n. I have tried it in quotes both single and double and tried CHR(10), it doesn't matter it treats the description as a string and outputs the string.  </p>
  
  <p><a href="https://i.stack.imgur.com/BwWy2.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/BwWy2.jpg" alt="enter image description here"></a></p>
  
  <p><a href="https://i.stack.imgur.com/UIB6I.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/UIB6I.jpg" alt="enter image description here"></a>
  The data for the column "description" is in html string:</p>
  
  <pre><code>$description = "205 - Base Cap 0.717 X 3.11&lt;br&gt;Cypress #2&lt;br&gt;Mill finish&lt;br&gt;Exact&lt;br&gt;Sand&lt;br&gt;Kerf&lt;br&gt;End dado 2.625" below dado.&lt;br&gt;Prepare for flush bolt HW-24EFB10B&lt;br&gt;10/10&amp;emsp;80/3";
  </code></pre>
  
  <p>To create the row I use the following code:</p>
  
  <pre><code>$description = str_replace('&lt;br&gt;','\n',$description);
  $pdf-&gt;Row(array($itemNumber,$stk_code,$description,$quantity,$unit_price,$lineNet));
  </code></pre>
  
  <p>Which calls the Row function to create a MultiCell row: </p>
  
  <pre><code>var $widths;
  var $aligns;
  
  function SetWidths($w)
  {
      //Set the array of column widths
      $this-&gt;widths=$w;
  }
  
  function SetAligns($a)
  {
      //Set the array of column alignments
      $this-&gt;aligns=$a;
  }
  
  function Row($data)
  {
      //Calculate the height of the row
      $nb=0;
      for($i=0;$i&lt;count($data);$i++)
          $nb=max($nb,$this-&gt;NbLines($this-&gt;widths[$i],$data[$i]));
      $h=15*$nb;
      //Issue a page break first if needed
      $this-&gt;CheckPageBreak($h);
      //Draw the cells of the row
      for($i=0;$i&lt;count($data);$i++)
      {
          $w=$this-&gt;widths[$i];
          $a=isset($this-&gt;aligns[$i]) ? $this-&gt;aligns[$i] : 'L';
          //Save the current position
          $x=$this-&gt;GetX();
          $y=$this-&gt;GetY();
          //Draw the border
          $this-&gt;Rect($x,$y,$w,$h);
          //Print the text
          $this-&gt;MultiCell($w,15,$data[$i],0,$a);
          //Put the position to the right of the cell
          $this-&gt;SetXY($x+$w,$y);
      }
      //Go to the next line
      $this-&gt;Ln($h);
  }
  </code></pre>
  
  <p>I have also tried WriteHTML but it returns the text less any html entities visible on screen. </p>