revert commit not related to the issue already opened

This commit is contained in:
jacr13 2021-04-09 19:42:21 +02:00
parent ba296f056a
commit 244736e98a

View File

@ -206,9 +206,7 @@ class Filter:
# Temporarily removing all links to that tab for now.
link.decompose()
return
elif (self.new_tab
and not href.startswith('/search')
and not href.startswith('/?safe')):
elif self.new_tab:
link['target'] = '_blank'
result_link = urlparse.urlparse(href)