I'm attempting to circumvent the error message that .NET throws when you try and submit HTML:
A potentially dangerous Request.Form value was detected from the client
Having read the following question, web.config looks like this:
<configuration>
<system.web>
<httpRuntime requestValidationMode="2.0" requestPathInvalidCharacters=""/>
<pages validateRequest="false">
<namespaces>
<add namespace="Microsoft.Web.Mvc" />
<add namespace="System.Web.Mvc" />
<add namespace="System.Web.Mvc.Ajax" />
<add namespace="System.Web.Mvc.Html" />
<add namespace="System.Web.Routing" />
</namespaces>
</pages>
</system.web>
</configuration>
When I type in HTML, I'm still getting the error though. I'm running a .NET 4, MVC 2 application just using the Visual Studio development server.