title: HTML line break in string
body: <p>I have a Form on a Webpage, where the user has the possiblility to type a text in a textarea. After the form is submitted i want to generate a PDF.</p>
  
  <p>Up to now the generation of the the PDF is working, but i have an issue with the line breaks from the textarea.</p>
  
  <p>After submitting the form i have the following:</p>
  
  <pre><code>&lt;Content&gt;this is the first line&lt;br&gt;&lt;br&gt;second line&lt;br&gt;third line&lt;Content&gt;
  </code></pre>
  
  <p>When i select the Content-element in the XSLT the content of the PDF looks</p>
  
  <pre><code>this is the first line&lt;br&gt;&lt;br&gt;second line&lt;br&gt;third line
  </code></pre>
  
  <p>how can i get the line breaks to the PDF?</p>
  
  <p>I already tried to replace the <code>&lt;br&gt;</code> with <code>&amp;#xA;</code> and add the attribute <code>linefeed-treatment="preserve"</code>, but is not working.</p>
  
  <p>The XML after the transformation looks like:</p>
  
  <pre><code>...
  &lt;fo:block linefeed-treatment="preserve"&gt;
  this is the first line&amp;#xA;&amp;#xA;second line&amp;#xA;third line
  &lt;/fo:block&gt;
  ...
  </code></pre>