# File lib/html/pipeline/filter.rb, line 132 def self.to_document(input, context = nil) html = call(input, context) HTML::Pipeline.parse(html) end