Explorar el Código

one quote will do

tags/0.5.0-vsc
Jan Lehnardt hace 15 años
padre
commit
e72b635ca1
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. +1
    -1
      mustache.js

+ 1
- 1
mustache.js Ver fichero

@@ -244,7 +244,7 @@ var Mustache = function() {
*/
escape: function(s) {
s = String(s === null ? "" : s);
return s.replace(/&(?!\w+;)|["''<>\\]/g, function(s) {
return s.replace(/&(?!\w+;)|["'<>\\]/g, function(s) {
switch(s) {
case "&": return "&amp;";
case "\\": return "\\\\";


Cargando…
Cancelar
Guardar