Fix Makefile to allow empty anchor href attributes

This commit is contained in:
Saivann 2015-07-26 02:09:25 -04:00
parent 37f68c2afe
commit bcc4b1fad5

View file

@ -28,6 +28,7 @@ HTML::Proofer.new(
## Links to ignore ## Links to ignore
:href_ignore => [ :href_ignore => [
'#', ## hrefs pointing to the current page (htmlproofer fails them) '#', ## hrefs pointing to the current page (htmlproofer fails them)
/^$/, ## anchors with no href attribute set (for clickable javascript elements)
/^\/bin/, ## /bin dir is not part of repository; holds Bitcoin Core binaries /^\/bin/, ## /bin dir is not part of repository; holds Bitcoin Core binaries
/^\/stats/ ## /stats dir is not part of repository; generated by separate stats script /^\/stats/ ## /stats dir is not part of repository; generated by separate stats script
], ],