(html: string)
| 19 | } |
| 20 | |
| 21 | export const sanitizeHTML = (html: string) => { |
| 22 | return DOMPurify.sanitize(html, { USE_PROFILES: { html: true } }) |
| 23 | } |
| 24 | |
| 25 | export const minifyHTML = (html: string, opts?: any) => { |
| 26 | return minify(html, { |
no outgoing calls
no test coverage detected