瀏覽代碼

don't escape ' temporarily

tags/0.4.0
Ben Cherry 15 年之前
父節點
當前提交
f3a9e4f395
共有 1 個文件被更改,包括 2 次插入1 次删除
  1. +2
    -1
      mustache.js

+ 2
- 1
mustache.js 查看文件

@@ -313,7 +313,8 @@ var Mustache = function() {
case "&": return "&";
case "\\": return "\\\\";
case '"': return '"';
case "'": return ''';
// leaving this out temporarily, will need to fix twitter to work with this (good) change
// case "'": return ''';
case "<": return "&lt;";
case ">": return "&gt;";
default: return s;


Loading…
取消
儲存