diff --git a/smart_service/apis/support.py b/smart_service/apis/support.py index 3a1e474..7c0a13b 100644 --- a/smart_service/apis/support.py +++ b/smart_service/apis/support.py @@ -452,6 +452,9 @@ def remove_html_tags(): frappe.db.sql('''update tabProcedure_Details set content= replace(content,'<','<'); ''') frappe.db.sql('''update tabProcedure_Details set content= replace(content,'

',''); ''') frappe.db.sql('''update tabProcedure_Details set content= replace(content,'

',''); ''') + frappe.db.sql('''update tabProcedure_Details set content= replace(content,"
  1. ",''); ''') + frappe.db.sql('''update tabProcedure_Details set content= replace(content,"
",''); ''') + frappe.db.commit() return True, 'Done' except Exception as e: