Why isnt new RazorEngine.Text.RawString working for a regular MVC partial? It works with Engine.Parse, but the output in a regular MVC page shows HTML tags.
I can't use Html.Raw, because the same view is used by RazorEngine which needs new RazorEngine.Text.RawString.
Will I have to have two views, one for the RazorEngine and one for a regular ASP.NET MVC page? I would hate to duplicate the markup just for this.
Why isnt new RazorEngine.Text.RawString working for a regular MVC partial? It works with Engine.Parse, but the output in a regular MVC page shows HTML tags.
I can't use Html.Raw, because the same view is used by RazorEngine which needs new RazorEngine.Text.RawString.
Will I have to have two views, one for the RazorEngine and one for a regular ASP.NET MVC page? I would hate to duplicate the markup just for this.