This will probably help you to get a solution faster.
For bugs, it would be great to have a PR with a failing test-case.
Using Node.js
Handlebars 4.7.7
When using a template string from a Windows UNC path, where single slashes are escaped ( \\ ) before a placeholder ( \\{{placeholder}} ), handlebars seems to "escape" the starting delimiter and treat it as regular {{.
In order to make it work, you need to "double-escape" the slashes ( \\\\ )
Before filing issues, please check the following points first:
This will probably help you to get a solution faster. For bugs, it would be great to have a PR with a failing test-case.
Using Node.js Handlebars 4.7.7
When using a template string from a Windows UNC path, where single slashes are escaped (
\\
) before a placeholder (\\{{placeholder}}
), handlebars seems to "escape" the starting delimiter and treat it as regular{{
.In order to make it work, you need to "double-escape" the slashes (
\\\\
)JSFIDDLE:
https://jsfiddle.net/qesz5g7w/2/
The code: