fix: removed unnecessary changes

This commit is contained in:
Jannat Patel
2023-03-16 12:24:12 +05:30
parent 817bc4441f
commit 3c0a29d4c7

View File

@@ -114,7 +114,7 @@ def sanitize_html(html, macro):
any broken tags. This makes sures that all those things are fixed any broken tags. This makes sures that all those things are fixed
before passing to the etree parser. before passing to the etree parser.
""" """
soup = BeautifulSoup(html, features="html5lib") soup = BeautifulSoup(html, features="lxml")
nodes = soup.body.children nodes = soup.body.children
classname = "" classname = ""
if macro == "YouTubeVideo": if macro == "YouTubeVideo":