Breaking News: Grepper is joining You.com. Read the official announcement!
Check it out

<%= vs <%- ejs

Busy Bug answered on February 16, 2023 Popularity 8/10 Helpfulness 6/10

Contents


More Related Answers

  • ejs if else
  • header ejs
  • for loop in ejs
  • ejs comments
  • express ejs
  • ejs view engine
  • ejs comments
  • set view engine to ejs in express
  • vscode ejs formatter
  • component in ejs
  • how to include in ejs
  • ejs variable
  • express ejs layout use different layout
  • install ejs
  • ejs ternary
  • css and ejs
  • ejs if statement
  • install ejs
  • express ejs
  • Using ejs with Express
  • ejs formatter vscode
  • ejs render
  • ejs express layouts
  • ejs include with variable
  • how to include ejs file in ejs
  • js to ejs
  • ejs js
  • ejs tutorial
  • EJS For loops.

  • <%= vs <%- ejs

    2

    According to the official https://ejs.co/ docs:


    <% 'Scriptlet' tag, for control-flow, no output

    <%= Outputs the value into the template (HTML escaped)

    <%- Outputs the unescaped value into the template

    Popularity 8/10 Helpfulness 6/10 Language whatever
    Source: Grepper
    Tags: ejs javascript
    Link to this answer
    Share Copy Link
    Contributed on Feb 16 2023
    Busy Bug
    0 Answers  Avg Quality 2/10


    X

    Continue with Google

    By continuing, I agree that I have read and agree to Greppers's Terms of Service and Privacy Policy.
    X
    Grepper Account Login Required

    Oops, You will need to install Grepper and log-in to perform this action.