forked from rDrama/rDrama
sfddsf
parent
6c49b72884
commit
aa7b57c60b
|
@ -167,7 +167,7 @@ def sanitize(sanitized, noimages=False):
|
||||||
#whatever else happens with images, there are only two sets of classes allowed
|
#whatever else happens with images, there are only two sets of classes allowed
|
||||||
for tag in soup.find_all("img"):
|
for tag in soup.find_all("img"):
|
||||||
if 'profile-pic-20' not in tag.attrs.get("class",""):
|
if 'profile-pic-20' not in tag.attrs.get("class",""):
|
||||||
tag.attrs['class']="in-comment-image rounded-sm my-2"
|
tag.attrs['class']="in-comment-image rounded-sm my-2 lozard"
|
||||||
|
|
||||||
#table format
|
#table format
|
||||||
for tag in soup.find_all("table"):
|
for tag in soup.find_all("table"):
|
||||||
|
|
Loading…
Reference in New Issue