title: \n and \t and getting them to display in a <textarea> using javascript or .net
body: <p>using C# I am saving formated HTML data in MSSQL such as:</p>
  <pre><code>&lt;div&gt;\n\t&lt;p&gt;x&lt;/p&gt;\n&lt;/div&gt;
  </code></pre>
  <p>I am than populating it into a textarea to display. I understand that I can use the <code>.value</code> property of the element to pull all of the ASCII characters out of the textarea, however, I can't seem to figure out how to get the &quot;\n&quot; and &quot;\t&quot; characters to show up as new lines and tabs.</p>
  <p>When I use FireBug to check the html contents of the textarea in question, this is what is displayed:</p>
  <pre><code>&amp;lt;div&amp;gt;/\n/\t&amp;lt;p&amp;gt;This is a test Div&amp;lt;/p&amp;gt;/\n&amp;lt;/div&amp;gt;
  </code></pre>
  <p>I don't really care about using JavaScript to display the new lines and tabs, I can also use .NET to change the characters, I would just like to know either or both options.</p>
  <p>Thanks much!</p>