Does ASP.NET MVC razor view engine encode HTML by default?
Or do we have to use the htmlhelpers
for html encoding the data.
Does ASP.NET MVC razor view engine encode HTML by default? Or do we have to use the |
|||||||||
|
Yes it does. Use |
|||
|
Or use HttpUtility.HtmlDecode
|
|||
|