mirror of
https://github.com/benbusby/whoogle-search.git
synced 2026-03-11 08:54:34 +00:00
Fixes doctype sometimes visible in search
This commit is contained in:
parent
418d9df89c
commit
8c85ab600c
1 changed files with 1 additions and 1 deletions
|
|
@ -158,7 +158,7 @@ class Search:
|
|||
|
||||
# Produce cleanable html soup from response
|
||||
get_body_safed = get_body.text.replace("<","andlt;").replace(">","andgt;")
|
||||
html_soup = bsoup(get_body_safed, 'html.parser')
|
||||
html_soup = bsoup(get_body_safed, 'html.parser').html
|
||||
|
||||
# Replace current soup if view_image is active
|
||||
# FIXME: Broken since the user agent changes as of 16 Jan 2025
|
||||
|
|
|
|||
Loading…
Reference in a new issue