Sanitize an HTML string
1 | sanitize_html(html, safe_tags = default_tags)
|
html |
An HTML string to be sanitized |
safe_tags |
the list of tags which are to be permitted during sanitization. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.