Update.
This commit is contained in:
parent
986acfac38
commit
6337350b60
@ -88,8 +88,8 @@ def sanitize_html(value):
|
|||||||
for script in soup.find_all('script'):
|
for script in soup.find_all('script'):
|
||||||
script.decompose()
|
script.decompose()
|
||||||
|
|
||||||
for iframe in soup.find_all('iframe'):
|
#for iframe in soup.find_all('iframe'):
|
||||||
iframe.decompose()
|
#iframe.decompose()
|
||||||
|
|
||||||
for tag in soup.find_all(['object', 'embed']):
|
for tag in soup.find_all(['object', 'embed']):
|
||||||
tag.decompose()
|
tag.decompose()
|
||||||
|
Loading…
Reference in New Issue
Block a user