@xuda.io/runtime-bundle 1.0.909 → 1.0.911

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -5193,7 +5193,7 @@ func.datasource.get_value = async function (SESSION_ID, fieldIdP, dsSessionP, ro
5193
5193
  };
5194
5194
 
5195
5195
  if (ret.value && typeof ret.value === 'string' && ret.type !== 'exp') {
5196
- if (/"/.test(ret.value) && ret.value.indexOf('\\') === -1) ret.value = ret.value.replace(/"/g, '"');
5196
+ if (!ret.value.includes('<svg xmlns=') && /"/.test(ret.value) && ret.value.indexOf('\\') === -1) ret.value = ret.value.replace(/"/g, '"');
5197
5197
  // if (/"/.test(ret.value) && ret.value.indexOf("\\") === -1)
5198
5198
  // ret.value = ret.value.replace(/"/g, '\\"');
5199
5199
  }
@@ -10381,7 +10381,7 @@ func.expression.get = async function (SESSION_ID, valP, dsSessionP, sourceP, row
10381
10381
  }
10382
10382
  if (typeof retP.value !== 'undefined') {
10383
10383
  var_Arr[key].type = retP.type;
10384
- var_Arr[key].value = typeof retP.value === 'string' ? retP.value.replaceAll('"', '\\"') : retP.value; // new Apr 6 2025 fixing "\"how much?\""
10384
+ var_Arr[key].value = typeof retP.value === 'string' && !retP.value.includes('<svg xmlns=') && retP.value.indexOf('\\') === -1 ? retP.value.replaceAll('"', '\\"') : retP.value; // new Apr 6 2025 fixing "\"how much?\""
10385
10385
  if ((val.value.indexOf('[') > -1) | (val.value.indexOf('.') > -1)) {
10386
10386
  //get values from array '@var==="sss" && @var_B==="sss" && @obj.property===5 && @objA["value"]===123 | @objB["value"].property===1234'
10387
10387
  var data = retP.prop;
@@ -5194,7 +5194,7 @@ func.datasource.get_value = async function (SESSION_ID, fieldIdP, dsSessionP, ro
5194
5194
  };
5195
5195
 
5196
5196
  if (ret.value && typeof ret.value === 'string' && ret.type !== 'exp') {
5197
- if (/"/.test(ret.value) && ret.value.indexOf('\\') === -1) ret.value = ret.value.replace(/"/g, '"');
5197
+ if (!ret.value.includes('<svg xmlns=') && /"/.test(ret.value) && ret.value.indexOf('\\') === -1) ret.value = ret.value.replace(/"/g, '"');
5198
5198
  // if (/"/.test(ret.value) && ret.value.indexOf("\\") === -1)
5199
5199
  // ret.value = ret.value.replace(/"/g, '\\"');
5200
5200
  }
@@ -14371,7 +14371,7 @@ func.expression.get = async function (SESSION_ID, valP, dsSessionP, sourceP, row
14371
14371
  }
14372
14372
  if (typeof retP.value !== 'undefined') {
14373
14373
  var_Arr[key].type = retP.type;
14374
- var_Arr[key].value = typeof retP.value === 'string' ? retP.value.replaceAll('"', '\\"') : retP.value; // new Apr 6 2025 fixing "\"how much?\""
14374
+ var_Arr[key].value = typeof retP.value === 'string' && !retP.value.includes('<svg xmlns=') && retP.value.indexOf('\\') === -1 ? retP.value.replaceAll('"', '\\"') : retP.value; // new Apr 6 2025 fixing "\"how much?\""
14375
14375
  if ((val.value.indexOf('[') > -1) | (val.value.indexOf('.') > -1)) {
14376
14376
  //get values from array '@var==="sss" && @var_B==="sss" && @obj.property===5 && @objA["value"]===123 | @objB["value"].property===1234'
14377
14377
  var data = retP.prop;