# File lib/html/pipeline/https_filter.rb, line 9 def call doc.css(%(a[href^="#{http_url}"])).each do |element| element['href'] = element['href'].sub(/^http:/, 'https:') end doc end