title: AllowHtml attribute not working
body: <p>I have a model with this property:</p>
  
  <pre><code>     [AllowHtml]
       [DisplayName("Widget for Table")]
       [StringLength(1000, ErrorMessage = "Maximum chars 1000")]
       [DataType(DataType.Html)]
       public object TableWidget { get; set; }
  </code></pre>
  
  <p>And here is the create methods in controller:</p>
  
  <pre><code>  //
    // GET: /Admin/Table/Create
  
    public ActionResult Create(int id)
    {
       Season season = _seasonRepository.GetSeason(id);
  
       var table = new Table
                       {
                          SeasonId = season.SeasonId
                       };
       return View(table);
    }
  
    //
    // POST: /Admin/Table/Create
  
    [HttpPost]
    public ActionResult Create(Table a)
    {
       if (ModelState.IsValid)
       {
          _tableRepository.Add(a);
          _tableRepository.Save();
          return RedirectToAction("Details", "Season", new { id = a.SeasonId });
       }
       return View();
    }
  </code></pre>
  
  <p>And last here is my view:</p>
  
  <pre><code>@model Stridh.Data.Models.Table
  @using (Html.BeginForm())
  {
     @Html.ValidationSummary(true)
     &lt;fieldset&gt;
        &lt;legend&gt;Fields&lt;/legend&gt;
        &lt;div class="editor-label"&gt;
           @Html.LabelFor(model =&gt; model.Name)
        &lt;/div&gt;
        &lt;div class="editor-field"&gt;
           @Html.EditorFor(model =&gt; model.Name) @Html.ValidationMessageFor(model =&gt; model.Name)
        &lt;/div&gt;
        &lt;div class="editor-label"&gt;
           @Html.LabelFor(model =&gt; model.TableURL)
        &lt;/div&gt;
        &lt;div class="editor-field"&gt;
           @Html.EditorFor(model =&gt; model.TableURL) @Html.ValidationMessageFor(model =&gt; model.TableURL)
        &lt;/div&gt;
        &lt;div class="editor-label"&gt;
           @Html.LabelFor(model =&gt; model.SortOrder)
        &lt;/div&gt;
        &lt;div class="editor-field"&gt;
           @Html.EditorFor(model =&gt; model.SortOrder) @Html.ValidationMessageFor(model =&gt; model.SortOrder)
        &lt;/div&gt;
        &lt;div class="editor-label"&gt;
           @Html.LabelFor(model =&gt; model.TableWidget)
        &lt;/div&gt;
        &lt;div class="editor-field"&gt;
           @Html.EditorFor(model =&gt; model.TableWidget) @Html.ValidationMessageFor(model =&gt; model.TableWidget)
        &lt;/div&gt;
        &lt;div class="editor-label invisible"&gt;
           @Html.LabelFor(model =&gt; model.SeasonId)
        &lt;/div&gt;
        &lt;div class="editor-field invisible"&gt;
           @Html.EditorFor(model =&gt; model.SeasonId)
        &lt;/div&gt;
        &lt;p&gt;
           &lt;input type="submit" value="Create" /&gt;
        &lt;/p&gt;
     &lt;/fieldset&gt;
  } 
  </code></pre>
  
  <p>When I add a "normal" message without html everything is saved OK, but when saving  it says A potentially dangerous Request.Form...</p>
  
  <p>Another strange thing is that I got this [AllowHtml] to work in another model class. I cant find why this is causing me troubble. Need your help. :-)</p>