title: Html encoding with TextBoxFor MVC 4
body: <p>Whenever I enter anything in &lt; angle brackets > (as well as some other html syntaxy things) into my <code>TextBoxFor</code> an exception is thrown </p>
  
  <pre><code>@Html.TextBoxFor(model =&gt; model.tags, new { @class = "form-control", placeholder = "tags (comma separated)" })
  </code></pre>
  
  <blockquote>
    <p>A potentially dangerous Request.Form value was detected from the client (tags="").</p>
  </blockquote>
  
  <p>I understand this occurs to prevent insecurities and that html encoding/decoding is the solution to my issue but I'm not sure how to implement it.</p>
  
  <p>I've read in a few places that <code>TextBoxFor</code> does html encoding by default, but if that's true why am I having this issue?</p>