@xuda.io/runtime-bundle 1.0.909 → 1.0.910
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 +1 -1
- package/js/xuda-runtime-bundle.min.js +1 -1
- package/js/xuda-runtime-slim.js +1 -1
- package/js/xuda-runtime-slim.min.es.js +1 -1
- package/js/xuda-runtime-slim.min.js +1 -1
- package/js/xuda-server-bundle.min.mjs +1 -1
- package/js/xuda-server-bundle.mjs +1 -1
- package/js/xuda-worker-bundle.js +1 -1
- package/js/xuda-worker-bundle.min.js +1 -1
- package/package.json +1 -1
package/js/xuda-runtime-slim.js
CHANGED
|
@@ -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
|
}
|
|
@@ -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
|
}
|