From 49e50f63900a1b49276885b95236497bb3e183d1 Mon Sep 17 00:00:00 2001 From: Aidan Feldman Date: Wed, 18 Dec 2013 03:28:01 -0500 Subject: [PATCH] Don't ignore all '#' URLs when running HTML::Proofer Explicitly ignore the clipboard button from proofing, which was why the :href_ignore was there in the first place. Per https://github.com/github/choosealicense.com/pull/104/files#r7311111. --- Rakefile | 2 +- _includes/sidebar.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Rakefile b/Rakefile index 8694104..ed29cdb 100644 --- a/Rakefile +++ b/Rakefile @@ -3,5 +3,5 @@ require "html/proofer" task :test do sh "bundle exec jekyll build --trace" # ignore href="#" for the "Copy to clipboard" button - HTML::Proofer.new("./_site", :href_ignore => ["#"]).run + HTML::Proofer.new("./_site").run end diff --git a/_includes/sidebar.html b/_includes/sidebar.html index f62639e..dedb0e0 100644 --- a/_includes/sidebar.html +++ b/_includes/sidebar.html @@ -1,6 +1,6 @@