@anoki/fse-ui
Version:
FSE UI components library
3 lines (2 loc) • 557 B
JavaScript
;Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("./index.cjs514.js"),t=require("./index.cjs515.js"),d=(a,e)=>typeof window>"u"?t(a,{allowedTags:t.defaults.allowedTags.concat(["img","h1","h2","span"]),allowedAttributes:{...t.defaults.allowedAttributes,"*":["class","style",...(e==null?void 0:e.addAttributes)??[]],a:["href","name","target","rel"],img:["src","alt","title","width","height"]}}):r.sanitize(a,{ADD_ATTR:e==null?void 0:e.addAttributes});exports.sanitize=d;
//# sourceMappingURL=index.cjs289.js.map