【发布时间】:2021-07-25 20:13:21
【问题描述】:
<%
let myString = "this is a string %> with special characters";
let myOtherString = "this is a string <% with special characters";
// Do something
%>
我需要在我的 JS 字符串 中使用这些特殊字符。但是 EJS 模板会返回错误:找不到匹配的关闭标记“
我该怎么办?
【问题讨论】:
标签: javascript tags ejs