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'):
|
||||
script.decompose()
|
||||
|
||||
for iframe in soup.find_all('iframe'):
|
||||
iframe.decompose()
|
||||
#for iframe in soup.find_all('iframe'):
|
||||
#iframe.decompose()
|
||||
|
||||
for tag in soup.find_all(['object', 'embed']):
|
||||
tag.decompose()
|
||||
|
Loading…
Reference in New Issue
Block a user