From 56b75caa37d9cd9b3475249b8b19bc99be47b316 Mon Sep 17 00:00:00 2001 From: Simon Legner Date: Tue, 12 Dec 2017 22:07:25 +0100 Subject: [PATCH] linkfix (Nokogiri on rubydoc.info) --- Filter-Reference.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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: