From 708246735243f4c7b1fe44eb64375b141a98da47 Mon Sep 17 00:00:00 2001 From: Jannat Patel Date: Fri, 24 Jun 2022 19:10:42 +0530 Subject: [PATCH] fix: made bio field small text in profile edit form --- lms/lms/md.py | 2 +- lms/lms/web_form/profile/profile.json | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lms/lms/md.py b/lms/lms/md.py index b02ed68f..8105c72f 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="lxml") + soup = BeautifulSoup(html, features="html5lib") nodes = soup.body.children classname = "" if macro == "YouTubeVideo": diff --git a/lms/lms/web_form/profile/profile.json b/lms/lms/web_form/profile/profile.json index a0a78e8d..705b1e0d 100644 --- a/lms/lms/web_form/profile/profile.json +++ b/lms/lms/web_form/profile/profile.json @@ -22,7 +22,7 @@ "is_standard": 1, "login_required": 1, "max_attachment_size": 0, - "modified": "2022-06-06 10:38:37.784113", + "modified": "2022-06-24 19:08:29.197279", "modified_by": "Administrator", "module": "LMS", "name": "profile", @@ -127,7 +127,7 @@ { "allow_read_on_all_link_options": 0, "fieldname": "bio", - "fieldtype": "Text Editor", + "fieldtype": "Small Text", "hidden": 0, "label": "Bio", "max_length": 0,