1
0
mirror of https://github.com/github/choosealicense.com synced 2024-12-22 04:40:09 +01:00

Merge pull request #166 from github/proofer-ignore

Don't ignore all '#' URLs when running HTML::Proofer
This commit is contained in:
Aidan Feldman 2013-12-18 08:48:49 -08:00
commit 66538ff7ef
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -1,6 +1,6 @@
<div class="sidebar">
<a href="#" data-clipboard-target="license-text" class="js-clipboard-button button">Copy license text to clipboard</a>
<a href="#" data-clipboard-target="license-text" data-proofer-ignore="true" class="js-clipboard-button button">Copy license text to clipboard</a>
<div class="how-to-apply">
<h5>How to apply this license</h5>
<p>