From 25ec4ae7c6b0bb279685ea5b51e1e8906a6a4a87 Mon Sep 17 00:00:00 2001 From: Anand Chitipothu Date: Mon, 11 Oct 2021 15:08:29 +0530 Subject: [PATCH] fix: fixed the issue of lesson body getting mangled on save enabled `ignore_xss_filter` for lesson body to disable sanitizing the input. Issue #231 --- community/lms/doctype/course_lesson/course_lesson.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/community/lms/doctype/course_lesson/course_lesson.json b/community/lms/doctype/course_lesson/course_lesson.json index c154c620..68fbfc6c 100644 --- a/community/lms/doctype/course_lesson/course_lesson.json +++ b/community/lms/doctype/course_lesson/course_lesson.json @@ -56,6 +56,7 @@ { "fieldname": "body", "fieldtype": "Markdown Editor", + "ignore_xss_filter": 1, "label": "Body", "reqd": 1 }, @@ -71,7 +72,7 @@ ], "index_web_pages_for_search": 1, "links": [], - "modified": "2021-09-29 15:28:51.418015", + "modified": "2021-10-11 15:07:38.134809", "modified_by": "Administrator", "module": "LMS", "name": "Course Lesson",