Jeff-Lewis / nhaml

Automatically exported from code.google.com/p/nhaml
0 stars 0 forks source link

Support for IHtmlString in ASP.Net 4 #64

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
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

GoogleCodeExporter commented 9 years ago

Original comment by simon.cropp@gmail.com on 26 Jan 2010 at 8:31