minor improvement
parent
81b41256c1
commit
e23b528049
|
@ -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")
|
||||
|
||||
|
|
Loading…
Reference in New Issue