From 3aa66ea57dd3d239642340d047cbe87a80d7895e Mon Sep 17 00:00:00 2001 From: Peter Cottle Date: Sat, 20 Oct 2012 19:12:36 -0700 Subject: [PATCH] escaping issue --- src/commandViews.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/commandViews.js b/src/commandViews.js index b744ef5e..bc765264 100644 --- a/src/commandViews.js +++ b/src/commandViews.js @@ -170,6 +170,7 @@ var CommandPromptView = Backbone.View.extend({ _.each(value.split(';'), _.bind(function(command, index) { command = command.replace(/^(\s+)/, ''); command = command.replace(/(\s+)$/, ''); + command = command.replace(/"/g, '"'); command = _.escape(command); if (index > 0 && !command.length) {