From 42455c72f99049ea453d678e903be62422d56904 Mon Sep 17 00:00:00 2001 From: Jannat Patel Date: Mon, 27 Dec 2021 12:37:49 +0530 Subject: [PATCH] fix: revert unnecesary change --- school/lms/md.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/school/lms/md.py b/school/lms/md.py index b072af2a..5acb6322 100644 --- a/school/lms/md.py +++ b/school/lms/md.py @@ -105,7 +105,7 @@ def sanitize_html(html, macro): any broken tags. This makes sures that all those things are fixed before passing to the etree parser. """ - soup = BeautifulSoup(html, features="html5lib") + soup = BeautifulSoup(html, features="lxml") nodes = soup.body.children classname = "" if macro == "YouTubeVideo":