fix last commit

pull/221/head
Aevann 2024-01-15 04:15:24 +02:00
parent 90d8a4e336
commit b7fcf73684
1 changed files with 1 additions and 1 deletions

View File

@ -556,7 +556,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 i]')) and v.id != SNAPPY_ID
has_transform = bool(soup.select('[style*=transform i]')) and not (v and v.id == SNAPPY_ID)
links = soup.find_all("a")