Remove styling from NoJS liks (#511)

Fixes #510
pull/534/head
gripped 3 years ago committed by GitHub
parent 7fe066b4ea
commit d1c9b7f803
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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)

Loading…
Cancel
Save