Merge pull request #1539 from mokeyish/patch-4
Fix CustomFunction receiving excaped inputs
This commit is contained in:
commit
149d7f3851
|
|
@ -73,7 +73,11 @@ class CustomFunction_Utilities implements INode {
|
||||||
|
|
||||||
if (Object.keys(inputVars).length) {
|
if (Object.keys(inputVars).length) {
|
||||||
for (const item in inputVars) {
|
for (const item in inputVars) {
|
||||||
sandbox[`$${item}`] = inputVars[item]
|
let value = inputVars[item]
|
||||||
|
if (typeof value === 'string') {
|
||||||
|
value = handleEscapeCharacters(value, true)
|
||||||
|
}
|
||||||
|
sandbox[`$${item}`] = value
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue