siykt 1 year ago
parent
commit
a28daff2bf
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/workflowEngine/templating/mustacheReplacer.js

+ 1 - 1
src/workflowEngine/templating/mustacheReplacer.js

@@ -17,7 +17,7 @@ export function extractStrFunction(str) {
   if (!extractedStr) return null;
   const { 1: name, 2: funcParams } = extractedStr;
   const params = funcParams
-    .split(/,(?=(?:[^'"]*['"][^'"]*['"])*[^'"]*$)/)
+    .split(/,(?=(?:[^'"\\"\\']*['"][^'"]*['"\\"\\'])*[^'"]*$)/)
     .map((param) => param.trim().replace(/^['"]|['"]$/g, '') || '');
 
   return {