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
With the default configuration all my html tags are getting escaped (both in the layout.hbs as well as in the inline content hbs). Why? How do I fix this?
I don't believe this is normal behaviour for handlebars.js
The only way to render this properly is to pass in NoEscape in the configuration, but this has the unwanted side-effect that my {{ Data.Message }} does not get sanitized and can also contain html.
Activity
oformaniuk commentedon Aug 11, 2022
Hello @BartVanBeurden
Looks like a bug to me. Can you please provide a test covering your scenario?
Added failing test for rendering inline blocks Handlebars-Net#524
Nisden commentedon Dec 22, 2022
@zjklee I have created a PR with an unit test demonstrating the issue.
Nisden commentedon Dec 22, 2022
@zjklee I implemented a fix, but I am not 100% certain its correct, so please take a look.
Ringconfined688 commentedon Oct 17, 2025
@Nisden https://rapacity30.github.io/ecstatic/