From 6e3e98efbf078fb924d5bc14fbdfb089d8f96f04 Mon Sep 17 00:00:00 2001 From: Ryan McGrath Date: Thu, 23 Jun 2011 03:09:30 +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 73ae7f4..0a5c7fb 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(//, '>')); + for(x in context) template = template.replace(new RegExp('{{' + x + '}}', 'g'), context[x]); return template; } };