@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.
- package/js/xuda-runtime-bundle.js +2 -2
- package/js/xuda-runtime-bundle.min.js +1 -1
- package/js/xuda-runtime-slim.js +2 -2
- package/js/xuda-runtime-slim.min.es.js +2 -2
- package/js/xuda-runtime-slim.min.js +2 -2
- package/js/xuda-server-bundle.min.mjs +2 -2
- package/js/xuda-server-bundle.mjs +2 -2
- package/js/xuda-worker-bundle.js +2 -2
- package/js/xuda-worker-bundle.min.js +2 -2
- package/package.json +1 -1
|
@@ -30323,7 +30323,7 @@ func.datasource.get_value = async function (SESSION_ID, fieldIdP, dsSessionP, ro
|
|
|
30323
30323
|
};
|
|
30324
30324
|
|
|
30325
30325
|
if (ret.value && typeof ret.value === 'string' && ret.type !== 'exp') {
|
|
30326
|
-
if (/"/.test(ret.value) && ret.value.indexOf('\\') === -1) ret.value = ret.value.replace(/"/g, '"');
|
|
30326
|
+
if (!ret.value.includes('<svg xmlns=') && /"/.test(ret.value) && ret.value.indexOf('\\') === -1) ret.value = ret.value.replace(/"/g, '"');
|
|
30327
30327
|
// if (/"/.test(ret.value) && ret.value.indexOf("\\") === -1)
|
|
30328
30328
|
// ret.value = ret.value.replace(/"/g, '\\"');
|
|
30329
30329
|
}
|
|
@@ -35022,7 +35022,7 @@ func.expression.get = async function (SESSION_ID, valP, dsSessionP, sourceP, row
|
|
|
35022
35022
|
}
|
|
35023
35023
|
if (typeof retP.value !== 'undefined') {
|
|
35024
35024
|
var_Arr[key].type = retP.type;
|
|
35025
|
-
var_Arr[key].value = typeof retP.value === 'string' ? retP.value.replaceAll('"', '\\"') : retP.value; // new Apr 6 2025 fixing "\"how much?\""
|
|
35025
|
+
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?\""
|
|
35026
35026
|
if ((val.value.indexOf('[') > -1) | (val.value.indexOf('.') > -1)) {
|
|
35027
35027
|
//get values from array '@var==="sss" && @var_B==="sss" && @obj.property===5 && @objA["value"]===123 | @objB["value"].property===1234'
|
|
35028
35028
|
var data = retP.prop;
|