In scrubber/no_scrub.ex there are three clauses for strip/1 which all attempt to set the @doc attribute for that function. This throws a compiler warning:
warning: redefining @doc attribute previously set at line 15.
Please remove the duplicate docs. If instead you want to override a previously defined @doc, attach the @doc attribute to a function head:
@doc """
new docs
"""
def scrub(...)
lib/html_sanitize_ex/scrubber/no_scrub.ex:24: HtmlSanitizeEx.Scrubber.NoScrub.scrub/1
warning: redefining @doc attribute previously set at line 15.
Please remove the duplicate docs. If instead you want to override a previously defined @doc, attach the @doc attribute to a function head:
@doc """
new docs
"""
def scrub(...)
lib/html_sanitize_ex/scrubber/no_scrub.ex:29: HtmlSanitizeEx.Scrubber.NoScrub.scrub/1
In scrubber/no_scrub.ex there are three clauses for
strip/1
which all attempt to set the @doc attribute for that function. This throws a compiler warning:Should be an easy fix - I'll submit a PR.