I\'m using express.js with EJS templates and i\'m trying to do something like this:
<%= \"Test\" %>
but
for raw output html in ejs you can use this code
<%- "<a href='#'>Test</a>" %>
You should use html code everywhere, and use the EJS tags only where you need dynamic data. Example:
<a href='<%= user.id %>'><%= user.name %</a>
To specifically answer your question you can use <%- "<tags_here>" %>
to output unescaped HTML data.
This are the available options according to the docs
Looks like the option you need is the number 4