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:
calvin 2003-05-21 22:25:03 +00:00
parent 94748e855f
commit 98a0c329d8

View file

@ -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