Closed AntiMoron closed 2 years ago
You can use a different delimiter in your template:
ejs.render('<% <@= someVariable @> %>', {delimiter: '@'}, {someData: 'hello'});
@mde Thanks I figured it out with '<%%' to render a '<%' literal.
<%%- someVar %>
renders
<%- someVar %>
NIce!
I can see that ejs
designed this pattern at BNF stage for this senario. Good job. I took a while to recognize that, maybe the docs should add this.
Any implement like ?