Apparently someone who went through the project didn't know MVC
already takes care of html characters rendered in the View...
We had in Web.Config
:
<system.web.webPages.razor>
<host factoryType="System.Web.Mvc.MvcWebRazorHostFactory, System.Web.Mvc, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
<pages pageBaseType="MyNamespace.Views.MyViewPage">
<namespaces>
...
</namespaces>
</pages>
</system.web.webPages.razor>
And MyViewPage
was messing around some Helpers and other linstructions like Html.Raw