ASP.Net 4 is changed to have a new syntax to directly encode all output <%:
%>. This also works with HTML Helpers when they are returning a type which
implements IHtmlString.
Read more:
http://haacked.com/archive/2009/09/25/html-encoding-code-nuggets.aspx
We should also support this (possibly also in 2.0 with a custom
IHtmlString) and that think about encode all output by default, so you have
to be explicit say that you dont what to encode a specify output or set an
configuration option to enable the current behavior.
Original issue reported on code.google.com by lanwin...@gmail.com on 29 Sep 2009 at 2:06
Original issue reported on code.google.com by
lanwin...@gmail.com
on 29 Sep 2009 at 2:06