From f43dfd47d07c9e2e6a7523d6cbd6b606d57033c1 Mon Sep 17 00:00:00 2001 From: Jannat Patel Date: Fri, 24 Jun 2022 19:11:18 +0530 Subject: [PATCH] revert: markdown file changes --- lms/lms/md.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lms/lms/md.py b/lms/lms/md.py index 8105c72f..b02ed68f 100644 --- a/lms/lms/md.py +++ b/lms/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":