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:
commit
66538ff7ef
2
Rakefile
2
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
|
||||
|
@ -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>
|
||||
|
Loading…
x
Reference in New Issue
Block a user