Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

False positives: named anchors in same file #268

Open
matthiaskraaz opened this issue Apr 3, 2019 · 1 comment
Open

False positives: named anchors in same file #268

matthiaskraaz opened this issue Apr 3, 2019 · 1 comment

Comments

@matthiaskraaz
Copy link

This document:

<html><body>
<a href="#Anchorname">linked text</a>
<a name="Anchorname">a named anchor</a>
</body>
</html>

gives a false positive:

link target "Anchorname" missing

build.gradle:

plugins {
  id 'org.aim42.htmlSanityCheck' version '1.1.0'
}
htmlSanityCheck {
    sourceDir = new File( "$projectDir/test" )
}
@ascheman
Copy link
Member

We should at first provide a regression test.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants