require "rails/html/sanitizer/version"
require "loofah"
require "rails/html/scrubbers"
require "rails/html/sanitizer"

module Rails
  module Html
    module Sanitizer
      def full_sanitizer
        Html::FullSanitizer
      end

      def link_sanitizer
        Html::LinkSanitizer
      end

      def white_list_sanitizer
        Html::WhiteListSanitizer
      end
    end
  end
end

require "rails/html/sanitizer/version"
require "loofah"
require "rails/html/scrubbers"
require "rails/html/sanitizer"

module Rails
  module Html
    class Sanitizer
      class << self
        def full_sanitizer
          Html::FullSanitizer
        end

        def link_sanitizer
          Html::LinkSanitizer
        end

        def white_list_sanitizer
          Html::WhiteListSanitizer
        end
      end
    end
  end
end

Change Sanitizer to class with class methods.
Change Sanitizer to class with class methods.
