lib/html/pipeline.rb in html-pipeline-2.2.2 vs lib/html/pipeline.rb in html-pipeline-2.2.3
- old
+ new
@@ -41,9 +41,11 @@
autoload :SyntaxHighlightFilter, 'html/pipeline/syntax_highlight_filter'
autoload :TextileFilter, 'html/pipeline/textile_filter'
autoload :TableOfContentsFilter, 'html/pipeline/toc_filter'
autoload :TextFilter, 'html/pipeline/text_filter'
+ class MissingDependencyError < LoadError; end
+
# Our DOM implementation.
DocumentFragment = Nokogiri::HTML::DocumentFragment
# Parse a String into a DocumentFragment object. When a DocumentFragment is
# provided, return it verbatim.