@factorialco/f0-react 1.236.3 → 1.236.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.
- package/dist/experimental.js +1 -1
- package/package.json +1 -1
package/dist/experimental.js
CHANGED
|
@@ -12604,7 +12604,7 @@ function $P(t) {
|
|
|
12604
12604
|
const jP = PP().use(AF).use(eF).use(vP).use(uO), VP = U(function({ content: e, className: n, format: i = "html", ...r }, s) {
|
|
12605
12605
|
const o = le(() => f6.sanitize(i === "markdown" ? String(jP.processSync(e)) : e, {
|
|
12606
12606
|
ADD_ATTR: ["target"],
|
|
12607
|
-
ALLOWED_ATTR: ["href", "target", "rel"]
|
|
12607
|
+
ALLOWED_ATTR: ["href", "target", "rel", "class"]
|
|
12608
12608
|
}), [i, e]), a = /<[^>]*>/.test(o);
|
|
12609
12609
|
return f("div", {
|
|
12610
12610
|
ref: s,
|