fix meta matcher var

git-svn-id: https://linkchecker.svn.sourceforge.net/svnroot/linkchecker/trunk/linkchecker@491 e7d03fd6-7b0d-0410-9947-9c21f3af8025
This commit is contained in:
calvin 2002-08-02 11:07:38 +00:00
parent 481dca2709
commit 4186169edf

View file

@ -501,9 +501,9 @@ class UrlData:
# strip quotes
url = StringUtil.stripQuotes(match.group('value'))
if 'meta' in pattern['tags']:
match = _refresh_re.match(url)
if match:
url = match.group("url")
metamatch = _refresh_re.match(url)
if metamatch:
url = metamatch.group("url")
# need to resolve HTML entities
url = StringUtil.unhtmlify(url)
lineno= StringUtil.getLineNumber(self.getContent(), match.start())