Since all calls to methods (using Razor View Engine and syntax) that return strings have their result Html encoded, is there a way (or an option) to not have the return values html encoded?
For example if I have a simple method like so:
protected string RenderTable(IEnumerable<T> data)
/* Return some html */
and then in a view (using the Razor View engine) I have code like this:
I'd like the returned string to be inserted into the view as-is and not Html encoded.
What are my options?
View Complete Post