diff --git a/Filter-Reference.md b/Filter-Reference.md index b96cff7d..46e0efd4 100644 --- a/Filter-Reference.md +++ b/Filter-Reference.md @@ -33,7 +33,7 @@ The `call` method must return either `doc` or `html`, depending on the type of f * `doc` [Nokogiri::XML::Node] The Nokogiri representation of the container element. - See [Nokogiri's API docs](http://nokogiri.org/Nokogiri/XML/Node.html#methods_nav) for the list of available methods. + See [Nokogiri's API docs](http://www.rubydoc.info/github/sparklemotion/nokogiri/Nokogiri/XML/Node) for the list of available methods. * `html` [String] The string representation of the container element. @@ -97,7 +97,7 @@ Scrapers can have any number of custom filters but require at least the two desc The `CleanHtml` filter is tasked with cleaning the HTML markup where necessary and removing anything superfluous or nonessential. Only the core documentation should remain at the end. -Nokogiri's many jQuery-like methods make it easy to search and modify elements — see the [API docs](http://nokogiri.org/Nokogiri/XML/Node.html#methods_nav). +Nokogiri's many jQuery-like methods make it easy to search and modify elements — see the [API docs](http://www.rubydoc.info/github/sparklemotion/nokogiri/Nokogiri/XML/Node). Here's an example implementation that covers the most common use-cases: