export default function clean_html(html: string) { return html .replace(//gm, '') .replace(/()[\s\S]*?<\/script>/gm, '$1') .replace(/()[\s\S]*?<\/style>/gm, '$1') .replace(//gm, ''); }