diff --git a/src/lib/study-backrefs.js b/src/lib/study-backrefs.js index 292caaa3..508f160a 100644 --- a/src/lib/study-backrefs.js +++ b/src/lib/study-backrefs.js @@ -248,6 +248,12 @@ function studyBackrefs (edResults, trResults = [], htmlFragments = {}) { shortname = spec.links.rawlinks[link].specShortname; } else { let nakedLink = link; + + // Ignoring links to PDF specs + if (nakedLink.endsWith('.pdf')) { + return; + } + if (nakedLink.endsWith('.html')) { nakedLink = nakedLink.replace(/\/(Overview|overview|index)\.html$/, '/'); }