Replace leading slash for image links (#762)
The leading slash was previously removed without noticing it was part of a string replacement in #734. This caused the href of "View Image" contain a leading "/" which is wrong.main
parent
fb600d6fc8
commit
9bcd9931f7
|
@ -533,7 +533,7 @@ class Filter:
|
|||
continue
|
||||
|
||||
img_url = urlparse.unquote(urls[0].replace(
|
||||
f'{Endpoint.imgres}?imgurl=', ''))
|
||||
f'/{Endpoint.imgres}?imgurl=', ''))
|
||||
|
||||
try:
|
||||
# Try to strip out only the necessary part of the web page link
|
||||
|
|
Loading…
Reference in New Issue