///
Totally safe
Totally not safe
'; // allow only dompurify.sanitize(dirty, {ALLOWED_TAGS: ['b']}); // allow only andwith style attributes (for whatever reason) dompurify.sanitize(dirty, {ALLOWED_TAGS: ['b', 'q'], ALLOWED_ATTR: ['style']}); // leave all as it is but forbid