javascript - What are the benefits of using <%- tag v/s <%= tag in ejs? -


when should 1 use <%- tag? since <%- unescaped, wouldnt leave application vulnerable attacks?

you'd use when have trusted html in variable.

for example, if run chunk of data through markdown parser generate html.


Comments

Popular posts from this blog

Ansible warning on jinja2 braces on when -

Parsing a protocol message from Go by Java -

html - How to custom Bootstrap grid height? -