Преглед на файлове

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…
Отказ
Запис