Added code path for rendering html encoded content on K
This commit is contained in:
parent
282ccd6999
commit
34641d21e6
|
|
@ -74,6 +74,8 @@ namespace Microsoft.AspNet.Mvc.Razor
|
|||
{
|
||||
#if NET45
|
||||
WebUtility.HtmlEncode(content.ToString(), writer);
|
||||
#else
|
||||
writer.Write(WebUtility.HtmlEncode(content.ToString()));
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue