From dc0f72292aef08c712fa36a86a60fec494f5c81f Mon Sep 17 00:00:00 2001 From: benmcmahon100 Date: Sat, 1 Aug 2015 20:45:07 +0100 Subject: [PATCH] Remove the backslash escaping from JavaScript challenge output (e.g. \") --- public/js/lib/coursewares/coursewaresJSFramework_0.0.6.js | 1 + 1 file changed, 1 insertion(+) diff --git a/public/js/lib/coursewares/coursewaresJSFramework_0.0.6.js b/public/js/lib/coursewares/coursewaresJSFramework_0.0.6.js index 31ab3ab7a4..f88bca61aa 100644 --- a/public/js/lib/coursewares/coursewaresJSFramework_0.0.6.js +++ b/public/js/lib/coursewares/coursewaresJSFramework_0.0.6.js @@ -110,6 +110,7 @@ function bonfireExecute() { runTests('Error', null); } else { codeOutput.setValue(message.output); + codeOutput.setValue(codeOutput.getValue().replace(/\\\"/gi,'')); message.input = removeLogs(message.input); runTests(null, message); }