mirror of
https://github.com/Hopiu/linkchecker.git
synced 2026-05-09 15:14:45 +00:00
also get id attributes on anchor check
git-svn-id: https://linkchecker.svn.sourceforge.net/svnroot/linkchecker/trunk/linkchecker@891 e7d03fd6-7b0d-0410-9947-9c21f3af8025
This commit is contained in:
parent
94748e855f
commit
98a0c329d8
1 changed files with 1 additions and 1 deletions
|
|
@ -338,7 +338,7 @@ class UrlData:
|
|||
debug(HURT_ME_PLENTY, "checking anchor", anchor)
|
||||
if not (self.valid and anchor and self.isHtml()):
|
||||
return
|
||||
h = LinkParser(self.getContent(), {'a': ['name']})
|
||||
h = LinkParser(self.getContent(), {'a': ['name'], None: ['id']})
|
||||
for cur_anchor,line,column,name,base in h.urls:
|
||||
if cur_anchor == anchor:
|
||||
return
|
||||
|
|
|
|||
Loading…
Reference in a new issue