Merge pull request #2 from gchq/master

Bring branch up to date with gchq/master
This commit is contained in:
j433866 authored and GitHub committed 2019-05-10 09:09:58 +01:00
commit 802879ced2
4 files changed
+1024 -603

No files matched your search

+1 -1
View File
@@ -836,7 +836,7 @@ class Utils {
args = m[2]
.replace(/"/g, '\\"') // Escape double quotes
.replace(/(^|,|{|:)'/g, '$1"') // Replace opening ' with "
.replace(/([^\\]|[^\\]\\\\)'(,|:|}|$)/g, '$1"$2') // Replace closing ' with "
.replace(/([^\\]|(?:\\\\)+)'(,|:|}|$)/g, '$1"$2') // Replace closing ' with "
.replace(/\\'/g, "'"); // Unescape single quotes
args = "[" + args + "]";