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