EJS 不转义字符

EJS doesn't escape characters

我有一个 Node JS 服务器查询 MongoDB,然后将 returns 渲染到 EJS 模板:
res.render('graphFabric.ejs', {'iBeacons':[(beacon)]});.
当我尝试从我的模板中恢复 JSON 时 <%=iBeacons%> , '(单引号)显示为&#39; 例如:udid: &#39;b9407f30f5f8466eaff925556b57fe6d&#39;,
由于它破坏了我的 JSON 结构,如何解决这个问题?

我使用的 https://github.com/tj/ejs/tree/0.8.3#features 计算得出:
Escapes html by default with <%= code %> 当我应该使用
Unescaped buffering with <%- code %>
**用 - 替换 = 解决了问题