title: When using MVC code first with data annotations how do you include html markup in the display name?
body: <p>I am converting a paper form into a MVC 4 web form.  I have questions that are a paragraph worth of text that include superscript numbers that link to footnotes.  This is what I am trying to do:</p>
  
  <pre><code>public class PaperFormModel
  {
      [Display(Name = "Full paragraph of question text copied straight 
           off of the paper form&lt;a href="#footnote1"&gt;&lt;sup&gt;footnote 1&lt;/sup&gt;&lt;/a&gt; 
           and it needs to include the properly formatted superscript 
           and/or a link to the footnote text.")]
      public string Question1 { get; set; }
  
      // more properties go here ...
  }
  </code></pre>
  
  <p>After creating the model I generated the controller and related views.  Everything works except the html markup in the display name is converted into html encoded text (i.e. &amp;lt;sup&amp;gt;1&amp;lt;/sup&amp;gt;).  The code in the view.cshtml used to display the property is just the automatically generated code:</p>
  
  <pre><code>&lt;div class="editor-label"&gt;
      @Html.LabelFor(model =&gt; model.Question1)
  &lt;/div&gt;
  &lt;div class="editor-field"&gt;
      @Html.EditorFor(model =&gt; model.Question1)
      @Html.ValidationMessageFor(model =&gt; model.Question1)
  &lt;/div&gt;
  </code></pre>
  
  <p>I am trying to figure out how to get the html markup for the footnotes to work properly or is my approach somehow wrong and I should be doing it a different way?  This is my first MVC project and I am coming from an asp.net background.</p>