소스 검색

one quote will do

tags/0.5.0-vsc
Jan Lehnardt 15 년 전
부모
커밋
e72b635ca1
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. +1
    -1
      mustache.js

+ 1
- 1
mustache.js 파일 보기

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


불러오는 중...
취소
저장