diff --git a/src/browser/js/app/widgets/common/widget.js b/src/browser/js/app/widgets/common/widget.js index b7040e17..b6a46c82 100644 --- a/src/browser/js/app/widgets/common/widget.js +++ b/src/browser/js/app/widgets/common/widget.js @@ -493,7 +493,7 @@ class Widget extends EventEmitter { // if the string doesn't starts with one of these chars // it's going to fail // ref in source: https://github.com/douglascrockford/JSON-js - if (' +-eE{([0123456789tfn"'.indexOf(propValue[0]) !== -1) { + if (' \n+-eE{([0123456789tfn"'.indexOf(propValue[0]) !== -1) { try { propValue = JSON.parse(propValue) } catch (err) {}