如何允许用户将HTML输入到文本框?我设置validaterequest为false,仍然得到这个错误:
A potentially dangerous Request.Form value was detected from the client (Summary=”<a>“).
<a>
我知道它不推荐等等,但内部使用.
[ValidateInput(false)] public ActionResult MyAction (int id,string content) { }