From 080acb34d469d8aac20123bf0c5a8b8cf1b7241f Mon Sep 17 00:00:00 2001 From: Ryan McGrath Date: Thu, 23 Jun 2011 03:08:14 +0900 Subject: [PATCH] Final --- js/gitstatus.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/gitstatus.js b/js/gitstatus.js index 73ba8fc..73ae7f4 100644 --- a/js/gitstatus.js +++ b/js/gitstatus.js @@ -204,7 +204,7 @@ * @returns String, parsed/replaced template. */ render: function(template, context) { - for(x in context) template = template.replace(new RegExp('{{' + x + '}}', 'g'), context[x].replace('<', '<').replace('>', '>')); + for(x in context) template = template.replace(new RegExp('{{' + x + '}}', 'g'), context[x].replace(//, '>')); return template; } };