title: Why is MVC 4 Razor escaping ampersand when using HTML.Raw in a title attribute
body: <p>We recently upgraded to MVC 4 and now we are having titles in our links not display correctly. The problem is before HTML.Raw would not escape &amp; in our title attributes, but now it does. Below is my sample code:</p>
  
  <pre><code>&lt;a title="@Html.Raw("Shoe Size 6&amp;#189;-8")"&gt;Test&lt;/a&gt;
  </code></pre>
  
  <p>Which produces the following markup:</p>
  
  <pre><code>&lt;a title="Shoe Size 6&amp;amp;#189;-8"&gt;Test&lt;/a&gt;
  </code></pre>
  
  <p>The only solution I found so far was to put the entire anchor into a string and then HTML.Raw that string.</p>
  
  <p><a href="https://stackoverflow.com/questions/11963453/why-is-html-raw-escaping-ampersand-in-anchor-tag-in-asp-net-mvc-4">Why is Html.Raw escaping ampersand in anchor tag in ASP.NET MVC 4?</a>. </p>
  
  <p>This is a very ugly solution and I am hoping there is a better alternative.</p>