You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Im sending the following bits thru to a html document using a gulp process to merge several files to turn it into a razor template --- layout: default model: "@inherits RazorEngine.Templating.TemplateBase<BookingConfirmationEM>" name: comformation generic subject: Booking Confirmation ---
then putting it in at the top like this
{{model}}
but it is coming out the other end encouded as & lt ; and & gt ; (minus the spaces)
is there a way to stop this from happening?
The text was updated successfully, but these errors were encountered:
I would inspect the front-matter before it gets passed into your template. I have seen this before in other contexts where markdown was escaping the output. There are a few ways to get around it but it might depend on how the render engine you are using handles input.
I think first figure out if it is front-matter doing the escaping. I would be surprised but it might be possible that the yaml parser is doing something there.
You could try escaping the HTML chars and see if that gets you anywhere too...
Im sending the following bits thru to a html document using a gulp process to merge several files to turn it into a razor template
--- layout: default model: "@inherits RazorEngine.Templating.TemplateBase<BookingConfirmationEM>" name: comformation generic subject: Booking Confirmation ---
then putting it in at the top like this
{{model}}
but it is coming out the other end encouded as & lt ; and & gt ; (minus the spaces)
is there a way to stop this from happening?
The text was updated successfully, but these errors were encountered: