...
This commit is contained in:
parent
90b1b1c904
commit
5229ef2c2d
|
@ -466,7 +466,7 @@ class Filter:
|
||||||
if href.startswith(MAPS_URL):
|
if href.startswith(MAPS_URL):
|
||||||
# Maps links don't work if a site filter is applied
|
# Maps links don't work if a site filter is applied
|
||||||
link['href'] = MAPS_URL + "?q=" + clean_query(q)
|
link['href'] = MAPS_URL + "?q=" + clean_query(q)
|
||||||
elif (href.startswith('/?') or href.startswith('/search?') or
|
elif (href.startswith('/?') or href.startswith('/search?') or
|
||||||
href.startswith('/imgres?')):
|
href.startswith('/imgres?')):
|
||||||
# make sure that tags can be clicked as relative URLs
|
# make sure that tags can be clicked as relative URLs
|
||||||
link['href'] = href[1:]
|
link['href'] = href[1:]
|
||||||
|
|
Loading…
Reference in New Issue
Block a user