diff --git a/smart_service/apis/support.py b/smart_service/apis/support.py index 7c0a13b..d8f39d0 100644 --- a/smart_service/apis/support.py +++ b/smart_service/apis/support.py @@ -452,8 +452,8 @@ 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.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'