title: How to get rid of extra spaces in a textarea?
body: <p>I am generating an HTML form, which contains some code in a text area.</p>
  
  <p>The generated HTML looks like this:</p>
  
  <pre><code>&lt;textarea id="message" name="message"
      rows="18" cols="40"&gt;The quick brown fox
      &lt;?php echo $page_url;?&gt;
  &lt;/textarea&gt;
  </code></pre>
  
  <p>When the page is rendered in a browser, it looks like this:</p>
  
  <pre><code>The quick brown fox
           http://www.example.com
  </code></pre>
  
  <p>I cant explain it, since the variable contains no leading spaces - and no CSS styling is being applied either. </p>
  
  <p>can anyone think of what may be causing this?</p>