I\'m trying to generate a HTML document with RazorEngine (http://razorengine.codeplex.com/). Everything is mostly working, but the problem I have now is some of the
Have you tried:
@Raw(installationReport.DigiChannels())
Edit : I could use it in following way (MVC3)
@Html.Raw(installationReport.DigiChannels())
The alternative to @Raw
is to change your API to return HtmlStrings in appropriate places
Represents an HTML-encoded string that should not be encoded again.
The default razor behaviour is to encode string
s.