浏览代码

Use ''' instead of ''', which showed in template output

Issue observed during the development of familywall.com, in some conditions.
For some reason, using ''' instead fixed the issue.
tags/0.4.1
Eric BRECHEMIER 14 年前
父节点
当前提交
e20cee5f3e
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. +2
    -2
      mustache.js

+ 2
- 2
mustache.js 查看文件

@@ -40,7 +40,7 @@ var Mustache = function () {
"<": "&lt;",
">": "&gt;",
'"': '&quot;',
"'": '&#39;'
"'": '&apos;'
};

function escapeHTML(string) {
@@ -417,7 +417,7 @@ var Mustache = function () {

return({
name: "mustache.js",
version: "0.4.0-dev-familywall",
version: "0.4.1-dev-familywall",

/*
Turns a template and view into HTML


正在加载...
取消
保存