qt-ui-kit 1.0.69 → 1.0.70
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.mjs
CHANGED
|
@@ -16472,6 +16472,7 @@ function EventCard({
|
|
|
16472
16472
|
}
|
|
16473
16473
|
|
|
16474
16474
|
// src/components/organisms/message_body/email_body.tsx
|
|
16475
|
+
import DOMPurify from "dompurify";
|
|
16475
16476
|
import ReactMarkdown from "react-markdown";
|
|
16476
16477
|
import rehypeRaw from "rehype-raw";
|
|
16477
16478
|
import { jsx as jsx33, jsxs as jsxs23 } from "react/jsx-runtime";
|
|
@@ -16485,7 +16486,7 @@ function EmailBody({
|
|
|
16485
16486
|
attachments,
|
|
16486
16487
|
body
|
|
16487
16488
|
}) {
|
|
16488
|
-
|
|
16489
|
+
const clean = DOMPurify.sanitize(body ?? "");
|
|
16489
16490
|
return /* @__PURE__ */ jsxs23("div", { className: "flex flex-col gap-4 bg-white p-4 rounded-b-2xl overflow-auto", children: [
|
|
16490
16491
|
/* @__PURE__ */ jsxs23("div", { className: "flex flex-col gap-0.5", children: [
|
|
16491
16492
|
/* @__PURE__ */ jsx33(MetadataRow, { metadata: [`Subject: ${subjectLine}`] }),
|