diff --git a/files/helpers/sanitize.py b/files/helpers/sanitize.py index 454ab915b..3ed11a8a5 100644 --- a/files/helpers/sanitize.py +++ b/files/helpers/sanitize.py @@ -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")