minor improvement

pull/208/head
Aevann 2023-09-24 22:25:12 +03:00
parent 81b41256c1
commit e23b528049
1 changed files with 1 additions and 1 deletions

View File

@ -581,7 +581,7 @@ def sanitize(sanitized, golden=True, limit_pings=0, showmore=False, count_emojis
#doing this here cuz of the linkifyfilter right above it (therefore unifying all link processing logic)
soup = BeautifulSoup(sanitized, 'lxml')
has_transform = bool(soup.select('[style*=transform]'))
has_transform = bool(soup.select('[style*=transform i]'))
links = soup.find_all("a")