@xuda.io/xuda-worker-bundle 1.3.2039 → 1.3.2041

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.
Files changed (2) hide show
  1. package/index.js +1 -1
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -3569,7 +3569,7 @@ func.datasource.get_value = async function (SESSION_ID, fieldIdP, dsSessionP, ro
3569
3569
  };
3570
3570
 
3571
3571
  if (ret.value && typeof ret.value === 'string' && ret.type !== 'exp') {
3572
- if (/"/.test(ret.value) && ret.value.indexOf('\\') === -1) ret.value = ret.value.replace(/"/g, '"');
3572
+ if (!ret.value.includes('<svg xmlns=') && /"/.test(ret.value) && ret.value.indexOf('\\') === -1) ret.value = ret.value.replace(/"/g, '"');
3573
3573
  // if (/"/.test(ret.value) && ret.value.indexOf("\\") === -1)
3574
3574
  // ret.value = ret.value.replace(/"/g, '\\"');
3575
3575
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/xuda-worker-bundle",
3
- "version": "1.3.2039",
3
+ "version": "1.3.2041",
4
4
  "description": "xuda framework",
5
5
  "main": "index.js",
6
6
  "scripts": {