# `HtmlSanitizeEx.Scrubber.HTML5`
[🔗](https://github.com/rrrene/html_sanitize_ex/blob/main/lib/html_sanitize_ex/scrubber/html5.ex#L15)

Allows all HTML5 tags to support user input.

This should be used as a template for your own, more tailored scrubber!

Sanitizes all objectively malicious content, but for example, this allows all `data-*` attributes,
which might be an unsafe choice, depending on which frontend frameworks your site uses.

# `before_scrub`

# `sanitize`

# `scrub`

# `scrub_attribute`

# `scrub_attribute`

---

*Consult [api-reference.md](api-reference.md) for complete listing*
