How to make sure that my <br> tag get read as a html and not as text
<p>I have a asp.net page. On one particular page i can add comments and when i add these comments they get saved to a db. When i want new lines the "\n" tagg is automaticly displayed when i look at it in my backend code.</p>

<p>So now when i get back a response i want to get my comments back but i want them to have breaking spaces on those particular places where the "\n" is displayed.</p>

<p>I tried this in my backend code(cs):</p>

<pre><code>Text = text.replace("\n", "&lt;br/&gt;")
</code></pre>

<p>the result i get:</p>

<pre><code>my test&lt;br/&gt; test text new line&lt;br/&gt;
</code></pre>

<p>My <code>&lt;br&gt;</code> tags get displayed as text.</p>

<p>To clarify i basicly wan to achieve this:
<a href="http://stackoverflow.com/questions/7353718/why-are-my-br-tags-getting-converted-to-ltbr-gt">Why are my &quot;&lt;br /&gt;&quot; tags getting converted to &quot;&amp;lt;br /&amp;gt;&quot;?</a></p>

<p>But from the backend code in C#.</p>

<p>Ive been googling and haven't been able to find a answer to this.</p>
