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 htmlhelpers
for html encoding the data.
Or use HttpUtility.HtmlDecode
string value1 = "<html>"; // <html>
string value2 = HttpUtility.HtmlDecode(value1); // <html>