title: ASP.NET MVC with Razor, custom HtmlHelper outputs just text
body: <p>I am experimenting with custom HtmlHelpers, but can't get even a basic one to work correctly. My code (just for testing sake) looks like this -</p>
  
  <p>My class -</p>
  
  <pre><code>namespace HtmlHelpers.Extensions
  {
      public static class Helpers
      {
          public static string MySubmitButton(this HtmlHelper helper)
          {
              return String.Format("&lt;input type=\"submit\" value=\"Submit This\"&gt;");
          }
      }
  }
  </code></pre>
  
  <p>In my view - </p>
  
  <pre><code>@using HtmlHelpers.Extensions;
  @Html.MySubmitButton()
  </code></pre>
  
  <p>This I believe should generate a simple submit button, but instead, it justs writes the following <strong>text</strong> to the screen - </p>
  
  <pre><code>&lt;input type="submit" value="Submit"&gt;
  </code></pre>
  
  <p>I inspected the element, and for some reason the entire input element is being surrounded with double quotes.
  Anyone know why? Thanks! </p>