title: Change paragraph to line break in textarea
body: <p>This question is for when user is actually typing the text in textarea and not for how to process it afterwards.</p>
  
  <p>When I enter text in textarea and press Enter, and then do a "view source" I see newlines are translated to html paragraphs (&lt;p&gt; and &lt;/p&gt;). This causes a big gap between two successive lines. Is there some way of forcing it to use line breaks (&lt;br /&gt;)? I tried using CSS but nothing worked (neither it seems I can change font size and type!)</p>
  
  <p>For storing this data in DB, I can replace all &lt;p&gt; with empty string and all &lt;/p&gt; with &lt;br /&gt; before processing it so it would display correctly later.</p>
  
  <p><strong>Update</strong>
  I am using an Ajax HTML Text Editor:</p>
  
  <pre><code>&lt;asp:TextBox runat="server" ID="edComment" TextMode="MultiLine" CssClass="Comment" /&gt;
  &lt;ajaxToolkit:HtmlEditorExtender runat="server" ID="heeComment" 
      TargetControlID="edComment" 
      EnableSanitization="false" 
      BehaviorID="heeComment" 
      DisplayPreviewTab="false" 
      DisplaySourceTab="false"&gt;
  &lt;/ajaxToolkit:HtmlEditorExtender&gt;
  </code></pre>
  
  <p>When I enter "blah&lt;enter&gt;blah&lt;enter&gt;&lt;enter&gt;" and in code behind capture the text (i.e. edComment.Text), I see: </p>
  
  <pre><code>&lt;p&gt;blah&lt;/p&gt;&lt;p&gt;blah&lt;/p&gt;&lt;p&gt;&lt;br&gt;&lt;/p&gt;
  </code></pre>
  
  <p>This is why when I (user), am typing the text, there is such a big gap between two blahs; because they are taken as paragraphs. I am wondering if his can be forced to use &lt;br /&gt; so I would have blah&lt;br /&gt;blah&lt;br /&gt;.
  Not after all is said and done but while I am typing the text.</p>