This commit is contained in:
retoor 2025-07-26 23:56:24 +02:00
parent 986acfac38
commit 6337350b60

View File

@ -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()