Method: HTML::Pipeline::AutolinkFilter#call
- Defined in:
- lib/html/pipeline/autolink_filter.rb
#call ⇒ Object
20 21 22 23 24 25 26 27 28 |
# File 'lib/html/pipeline/autolink_filter.rb', line 20 def call return html if context[:autolink] == false = context[:skip_tags] flags = 0 flags |= context[:flags] if context[:flags] Rinku.auto_link(html, :urls, context[:link_attr], , flags) end |