Skip to content

Commit 8987188

Browse files
committed
fix: apostrophe in strings breaks the config json string
1 parent 2bce9c5 commit 8987188

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/LiveDevelopment/LiveDevMultiBrowser.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -733,7 +733,7 @@ define(function (require, exports, module) {
733733
*/
734734
function updateConfig(configJSON) {
735735
if (_protocol) {
736-
_protocol.evaluate("_LD.updateConfig('" + configJSON + "')");
736+
_protocol.evaluate("_LD.updateConfig(" + JSON.stringify(configJSON) + ")");
737737
}
738738
}
739739

0 commit comments

Comments
 (0)