Explorar el Código

Merge pull request #127 from tmcw/whitespace-ocd

Trailing whitespace OCD fix.
tags/0.4.0
Jan Lehnardt hace 14 años
padre
commit
cc7bc5fb39
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. +1
    -1
      mustache.js

+ 1
- 1
mustache.js Ver fichero

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


Cargando…
Cancelar
Guardar