fix url not open in new tab

This commit is contained in:
Joao Ramos 2022-05-25 14:18:56 +02:00
parent fb600d6fc8
commit ba09a065f2

View File

@ -435,6 +435,8 @@ class Filter:
link['href'] = 'https://google.com' + q
elif link['href'].startswith('/url'):
link['href'] = q
if self.config.new_tab:
link['target'] = '_blank'
elif q.startswith('https://accounts.google.com'):
# Remove Sign-in link
link.decompose()