UNPKG

@wordpress/dom

Version:
9 lines 239 B
/** * Strips scripts and on* attributes from HTML. * * @param {string} html HTML to sanitize. * * @return {string} The sanitized HTML. */ export default function safeHTML(html: string): string; //# sourceMappingURL=safe-html.d.ts.map