@umijs/renderer-react 4.0.0-canary.20240509.3 → 4.0.0-canary.20240509.4

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/dist/html.js +4 -1
  2. package/package.json +1 -1
package/dist/html.js CHANGED
@@ -138,8 +138,11 @@ export function Html(_ref) {
138
138
  content = _normalizeScripts2.content,
139
139
  rest = _objectWithoutProperties(_normalizeScripts2, _excluded2);
140
140
  return /*#__PURE__*/React.createElement("script", _extends({
141
+ dangerouslySetInnerHTML: {
142
+ __html: content
143
+ },
141
144
  key: key
142
- }, rest), content);
145
+ }, rest));
143
146
  })))
144
147
  );
145
148
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@umijs/renderer-react",
3
- "version": "4.0.0-canary.20240509.3",
3
+ "version": "4.0.0-canary.20240509.4",
4
4
  "description": "@umijs/renderer-react",
5
5
  "homepage": "https://github.com/umijs/umi/tree/master/packages/renderer-react#readme",
6
6
  "bugs": "https://github.com/umijs/umi/issues",