title: Post HTML tag (codes) as string with ASP.net MVC & JQuery
body: <p>I'm trying to post a Form through a MVC Model into a Save function in a controller. I'm also using tinymce on the client side which results a HTML code based string such like <code>&lt;p&gt; Content text blah blah ...&lt;/p&gt;</code>.</p>
  
  <p>The problem is that I cannot post a string that includes <code>&lt;p&gt; something &lt;/p&gt;</code> But surprisingly, <code>&lt; p &gt; something &lt; / p &gt;</code> this string (with spaces after "&lt;") has NO problem. But, I cannot handle this html code and make these spaces before posting every time. There must be a better way. </p>
  
  <p>So, How can I post a string that includes HTML code through $.post method? (If you must know, this project is a Content Management System. So, I have to save the HTML based content text into a SQL table.) I saw by debugging, the post action <strong>does not even</strong> reach to the Controller and I think this is a only javascript problem, am I right?</p>
  
  <p>Here is the code I am using:<br />
  <strong>Javascript</strong></p>
  
  <hr />
  
  <pre>
  function JqueryFromPost(formId) {
  
    var form = $(formId);
    var action = form.attr("action");
    var serializedForm = form.serializeArray();
  
    $.post(action, serializedForm, function (data) {
        //Getting the data Result here...
    });
  }
  </pre>
  
  <p><strong>CS Code</strong></p>
  
  <hr />
  
  <pre>
     [HttpPost]
     public JsonResult SaveArticle(ArticleModel model)
     {
         JsonResult JResult = new JsonResult();
  
         if (ModelState.IsValid)
             //I do the saving here ending with "JResult.Data = "Success";" (this could also be Failed. So, its just to explain)
  
         return JResult;
     }
  </pre>