From bcc4b1fad57e94c7a0b0d8dbd3ff8b4206f6b2ac Mon Sep 17 00:00:00 2001 From: Saivann Date: Sun, 26 Jul 2015 02:09:25 -0400 Subject: [PATCH] Fix Makefile to allow empty anchor href attributes --- _contrib/bco-htmlproof | 1 + 1 file changed, 1 insertion(+) diff --git a/_contrib/bco-htmlproof b/_contrib/bco-htmlproof index d23c115d..8f2af944 100755 --- a/_contrib/bco-htmlproof +++ b/_contrib/bco-htmlproof @@ -28,6 +28,7 @@ HTML::Proofer.new( ## Links to ignore :href_ignore => [ '#', ## 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 /^\/stats/ ## /stats dir is not part of repository; generated by separate stats script ],