class ReeText::StripLinks
def call(html)
def call(html) link_scrubber = TargetScrubber.new( tags: DEFAULTS[:tags], attributes: DEFAULTS[:attributes] ) Loofah.scrub_fragment(html, link_scrubber).to_s end
def call(html) link_scrubber = TargetScrubber.new( tags: DEFAULTS[:tags], attributes: DEFAULTS[:attributes] ) Loofah.scrub_fragment(html, link_scrubber).to_s end