Check it out on Hex: https://hex.pm/packages/html_sanitize_ex/1.5.0-rc.0
New API for Custom Scrubbers
Instead of importing and requiring HtmlSanitizeEx.Scrubber.Meta, just use HtmlSanitizeEx:
defmodule MyScrubber do
use HtmlSanitizeEx
allow_tag_with_these_attributes("p", ["title"])
end
Using HtmlSanitizeEx also creates a sanitize/1 function in the...