fix: made bio field small text in profile edit form

This commit is contained in:
Jannat Patel
2022-06-24 19:10:42 +05:30
parent f05d3581c1
commit 7082467352
2 changed files with 3 additions and 3 deletions

View File

@@ -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":

View File

@@ -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,