title: HTML encoding and decoding using MVC3
body: <p>I am writing an MVC3 site, which uses tinymce as a WYSIWYG text editor.  I save that text via an AJAX call using jQuery.  I've found the query is not sent, if my data includes HTML, so I need to do this:</p>
  
  <pre><code> var postData = {
                    couponId: couponId,
                    coupon: escape(coupon),
                    imagePath: image,
                    imageAlignment: imageAlignment
                  };
  
               $.post('@(Url.Action("SaveCoupon"))', postData, function (data) {
  </code></pre>
  
  <p>in order to get my data passed through to the server.  This turns </p>
  
  <pre><code>&lt;p&gt;this is a test&lt;/p&gt;
  </code></pre>
  
  <p>in to</p>
  
  <pre><code>%3Cp%3Ethis%20is%20a%20test%3C/p%3E
  </code></pre>
  
  <p>I've been trying to work out how to convert it back.  The HtmlString, HtmlHelper and HttpUtility classes just return it verbatim, I thought HttpUtility.HtmlDecode was what I needed for sure, but it just plain does not do what I need.  I need to store this as decoded HTML in my database, so I can't just re-encode it on the client side ( although I am concerned that I won't be able to send it back using AJAX either, I've not even got that far, yet ).  What's the best way to transmit HTML through an AJAX call, store it in the form it was entered, and return it back to the client for display ?</p>