Преглед изворни кода

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…
Откажи
Сачувај