fix: Strip HTML tags from SMS Notifications (#22880)
This commit is contained in:
parent
e06200400f
commit
ca3ecc2da7
1 changed files with 1 additions and 1 deletions
|
|
@ -305,7 +305,7 @@ def get_context(context):
|
|||
def send_sms(self, doc, context):
|
||||
send_sms(
|
||||
receiver_list=self.get_receiver_list(doc, context),
|
||||
msg=frappe.render_template(self.message, context),
|
||||
msg=frappe.utils.strip_html_tags(frappe.render_template(self.message, context)),
|
||||
)
|
||||
|
||||
def get_list_of_recipients(self, doc, context):
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue