optimized-react-component-library-xyz123 2.8.17 → 2.8.18

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/dist/index.js CHANGED
@@ -2170,9 +2170,16 @@ var RadioCollapseItem = ({
2170
2170
  children: /* @__PURE__ */ (0, import_jsx_runtime20.jsxs)("div", { className: `pts-radio-collapse-content `, children: [
2171
2171
  isOpen && //TODO??
2172
2172
  /* @__PURE__ */ (0, import_jsx_runtime20.jsx)("span", { className: "sr-only", children: activatedLanguage === "sv" ? `Visar informationstext om svarsalternativet ${label}` : `Displays informational text about the answer option ${label}` }),
2173
- /* @__PURE__ */ (0, import_jsx_runtime20.jsx)("div", { dangerouslySetInnerHTML: {
2174
- __html: import_dompurify6.default.sanitize(optionText != null ? optionText : "")
2175
- } })
2173
+ /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
2174
+ "div",
2175
+ {
2176
+ dangerouslySetInnerHTML: {
2177
+ __html: import_dompurify6.default.sanitize(optionText != null ? optionText : "", {
2178
+ ADD_ATTR: ["target", "style"]
2179
+ })
2180
+ }
2181
+ }
2182
+ )
2176
2183
  ] })
2177
2184
  }
2178
2185
  )