Browse Source

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 years ago
parent
commit
e20cee5f3e
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      mustache.js

+ 2
- 2
mustache.js View File

@@ -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


Loading…
Cancel
Save