mirror of
https://github.com/Hopiu/linkchecker.git
synced 2026-05-17 11:01:06 +00:00
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:
parent
481dca2709
commit
4186169edf
1 changed files with 3 additions and 3 deletions
|
|
@ -501,9 +501,9 @@ class UrlData:
|
||||||
# strip quotes
|
# strip quotes
|
||||||
url = StringUtil.stripQuotes(match.group('value'))
|
url = StringUtil.stripQuotes(match.group('value'))
|
||||||
if 'meta' in pattern['tags']:
|
if 'meta' in pattern['tags']:
|
||||||
match = _refresh_re.match(url)
|
metamatch = _refresh_re.match(url)
|
||||||
if match:
|
if metamatch:
|
||||||
url = match.group("url")
|
url = metamatch.group("url")
|
||||||
# need to resolve HTML entities
|
# need to resolve HTML entities
|
||||||
url = StringUtil.unhtmlify(url)
|
url = StringUtil.unhtmlify(url)
|
||||||
lineno= StringUtil.getLineNumber(self.getContent(), match.start())
|
lineno= StringUtil.getLineNumber(self.getContent(), match.start())
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue