Просмотр исходного кода

remove the backslash escaping

tags/0.4.0
Ben Cherry 15 лет назад
Родитель
Сommit
9110fe0061
1 измененных файлов: 0 добавлений и 1 удалений
  1. +0
    -1
      mustache.js

+ 0
- 1
mustache.js Просмотреть файл

@@ -291,7 +291,6 @@ var Mustache = function() {
return s.replace(/&(?!\w+;)|["'<>\\]/g, function(s) {
switch(s) {
case "&": return "&amp;";
case "\\": return "\\\\";
case '"': return '&quot;';
case "'": return '&#39;';
case "<": return "&lt;";


Загрузка…
Отмена
Сохранить