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. # Temporarily removing all links to that tab for now.
link.decompose() link.decompose()
return return
elif (self.new_tab elif self.new_tab:
and not href.startswith('/search')
and not href.startswith('/?safe')):
link['target'] = '_blank' link['target'] = '_blank'
result_link = urlparse.urlparse(href) result_link = urlparse.urlparse(href)