소스 검색

Merge branch 'master' of git@github.com:janl/mustache.js

* 'master' of git@github.com:janl/mustache.js:
  don't die on null values
tags/0.2.3
Jan Lehnardt 16 년 전
부모
커밋
b1cd428dd6
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. +1
    -1
      mustache.js

+ 1
- 1
mustache.js 파일 보기

@@ -194,7 +194,7 @@ var Mustache = function() {
Does away with nasty characters
*/
escape: function(s) {
return s.toString().replace(/[&"<>\\]/g, function(s) {
return (s ? s.toString() : "").replace(/[&"<>\\]/g, function(s) {
switch(s) {
case "&": return "&amp;";
case "\\": return "\\\\";;


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