-
Notifications
You must be signed in to change notification settings - Fork 577
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
MvcHtmlString still gets HtmlEncoded #1
Comments
My intention with
This would enable existing You would need to wire this up via your configuration:
|
That works beautifully. Thank you. |
I'm sharing a partial view with a full MVC3 view and a RazorEngine template. It needs to be strongly typed, so I pulled the latest from github this morning to get support for @model.
The problem is my view has an HtmlHelper in it that returns an MvcHtmlString. I have the helper working fine (cobbled together below, will change to MvcTemplateBase if that makes the cut), but the problem is RazorEngine is escaping it and I'm seeing raw HTML in the result. RazorEngine 2.1 did not do this. Any idea where I should look?
This is the basic code I'm using:
The text was updated successfully, but these errors were encountered: