From cba410ff71d2d0bdb03b59a6bca1d6222b3d0b4d Mon Sep 17 00:00:00 2001 From: Tebs Date: Tue, 26 Feb 2019 08:53:20 +0000 Subject: [PATCH] Fix Nokogiri link in documentation --- README.md | 2 +- lib/rails/html/scrubbers.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 5a6ffc2..ed01f05 100644 --- a/README.md +++ b/README.md @@ -127,7 +127,7 @@ Loofah is what underlies the sanitizers and scrubbers of rails-html-sanitizer. - [Loofah and Loofah Scrubbers](https://github.com/flavorjones/loofah) The `node` argument passed to some methods in a custom scrubber is an instance of `Nokogiri::XML::Node`. -- [`Nokogiri::XML::Node`](http://nokogiri.org/Nokogiri/XML/Node.html) +- [`Nokogiri::XML::Node`](https://nokogiri.org/rdoc/Nokogiri/XML/Node.html) - [Nokogiri](http://nokogiri.org) ## Contributing to Rails Html Sanitizers diff --git a/lib/rails/html/scrubbers.rb b/lib/rails/html/scrubbers.rb index 42436f4..a92c8a0 100644 --- a/lib/rails/html/scrubbers.rb +++ b/lib/rails/html/scrubbers.rb @@ -43,7 +43,7 @@ module Html # end # # See the documentation for Nokogiri::XML::Node to understand what's possible - # with nodes: http://nokogiri.org/Nokogiri/XML/Node.html + # with nodes: https://nokogiri.org/rdoc/Nokogiri/XML/Node.html class PermitScrubber < Loofah::Scrubber attr_reader :tags, :attributes