Prevent empty line in ejs if statement

后端 未结 0 1165
有刺的猬
有刺的猬 2021-02-01 10:38

In if statement of ejs, it produces an unexpected empty line. The following is my ejs code block for test:

test block
<% if(false) { %>
    this line should         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题