qt-ui-kit 1.0.67 → 1.0.68
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 +2 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +2 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -16498,6 +16498,7 @@ function EventCard({
|
|
|
16498
16498
|
}
|
|
16499
16499
|
|
|
16500
16500
|
// src/components/organisms/message_body/email_body.tsx
|
|
16501
|
+
var import_dompurify = __toESM(require("dompurify"));
|
|
16501
16502
|
var import_react_markdown = __toESM(require("react-markdown"));
|
|
16502
16503
|
var import_rehype_raw = __toESM(require("rehype-raw"));
|
|
16503
16504
|
var import_jsx_runtime33 = require("react/jsx-runtime");
|
|
@@ -16511,7 +16512,7 @@ function EmailBody({
|
|
|
16511
16512
|
attachments,
|
|
16512
16513
|
body
|
|
16513
16514
|
}) {
|
|
16514
|
-
|
|
16515
|
+
const clean = import_dompurify.default.sanitize(body ?? "");
|
|
16515
16516
|
return /* @__PURE__ */ (0, import_jsx_runtime33.jsxs)("div", { className: "flex flex-col gap-4 bg-white p-4 rounded-b-2xl overflow-auto", children: [
|
|
16516
16517
|
/* @__PURE__ */ (0, import_jsx_runtime33.jsxs)("div", { className: "flex flex-col gap-0.5", children: [
|
|
16517
16518
|
/* @__PURE__ */ (0, import_jsx_runtime33.jsx)(MetadataRow, { metadata: [`Subject: ${subjectLine}`] }),
|