mirror of
https://github.com/Hopiu/linkchecker.git
synced 2026-04-01 21:50:25 +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
|
||||
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())
|
||||
|
|
|
|||
Loading…
Reference in a new issue