From 37ae437567a66fba9905c617d97d4ca71fc3197c Mon Sep 17 00:00:00 2001 From: Joao Ramos Date: Fri, 19 Nov 2021 09:51:58 +0100 Subject: [PATCH] fix typo, remove colors form html tag --- app/filter.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/app/filter.py b/app/filter.py index c9de1cf..a864503 100644 --- a/app/filter.py +++ b/app/filter.py @@ -288,7 +288,7 @@ class Filter: except AttributeError: pass - # Fix body max with on images tab + # Fix body max width on images tab style = soup.find('style') div = soup.find('div', attrs={'class': "n692Zd"}) if style and div and not self.mobile: @@ -299,9 +299,7 @@ class Filter: 'font-size: 14px;' 'line-height: 20px;' 'text-size-adjust: 100%;' - 'color: #3c4043;' 'word-wrap: break-word;' - 'background-color: #fff;' '}' ) css = f"{css_html_tag}{css}"