From d1c9b7f80323dff1d54761f7e76b178bc43232ed Mon Sep 17 00:00:00 2001 From: gripped Date: Mon, 1 Nov 2021 22:03:47 +0000 Subject: [PATCH] Remove styling from NoJS liks (#511) Fixes #510 --- app/utils/results.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/app/utils/results.py b/app/utils/results.py index 76cb2cb..416d0ea 100644 --- a/app/utils/results.py +++ b/app/utils/results.py @@ -178,8 +178,7 @@ def append_nojs(result: BeautifulSoup) -> None: """ nojs_link = BeautifulSoup(features='html.parser').new_tag('a') nojs_link['href'] = '/window?location=' + result['href'] - nojs_link['style'] = 'display:block;width:100%;' - nojs_link.string = 'NoJS Link' + nojs_link.string = ' NoJS Link' result.append(nojs_link)