Przeglądaj źródła

remove the backslash escaping

tags/0.4.0
Ben Cherry 15 lat temu
rodzic
commit
9110fe0061
1 zmienionych plików z 0 dodań i 1 usunięć
  1. +0
    -1
      mustache.js

+ 0
- 1
mustache.js Wyświetl plik

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


Ładowanie…
Anuluj
Zapisz