title: store and display html tags in MVC
body: <p>How can I store post.content as html in database and how can I display with rendered html without tags. I am trying with following way, but it's not working. It can stored encode html  in database but its not displayed rendered html. Any best practice would be appreciated.</p>
  
  <p>1)
  //Saving post content in database as html </p>
  
  <pre><code>public ActionResult Edit(Post post, FormCollection obj)
          {               
            post.Content = Server.HtmlEncode(post.Content);
          }
  </code></pre>
  
  <p>2)
  //Displaying post content to view</p>
  
  <pre><code>&lt;%: System.Web.HttpUtility.HtmlDecode(item.Content)%&gt;
  </code></pre>
  
  <p>OR</p>
  
  <pre><code>&lt;%: item.Content%&gt;
  </code></pre>