Sha256: c3dcc5a01c479f02f6ea4b0bca8b8e26e29aff274ea6c25c1927a45879f80ea7
Contents?: true
Size: 389 Bytes
Versions: 12
Compression:
Stored size: 389 Bytes
Contents
# frozen_string_literal: true module Thredded module HtmlPipeline # HTML Filter for auto_linking urls in HTML. # # AutolinkFilter is required because Kramdown does not autolink by default. # https://github.com/gettalong/kramdown/issues/306 class AutolinkFilter < ::HTML::Pipeline::Filter def call Rinku.auto_link(html, :all) end end end end
Version data entries
12 entries across 12 versions & 1 rubygems