mirror of
https://github.com/farcasclaudiu/Flowise.git
synced 2026-06-28 23:01:09 +03:00
Fix CustomFunction receiving excaped inputs
This commit is contained in:
@@ -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
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user