diff --git a/src/js/url_exist.js b/src/js/url_exist.js index 72f9f84..24a40a0 100644 --- a/src/js/url_exist.js +++ b/src/js/url_exist.js @@ -100,7 +100,9 @@ function checkIfInternalLinksExists(ref, title, url, history) { } let history = []; -const ht = document.querySelectorAll("a:not(img)"); +const ht = document.querySelectorAll( + "article a:not(img, .headerlink)" +); for (const anchor of ht) { if ( !anchor.getElementsByTagName("img").length > 0 &&