fix: strip html from email subject
This commit is contained in:
parent
9609462f6d
commit
f443c3100d
1 changed files with 3 additions and 1 deletions
|
|
@ -203,7 +203,9 @@ frappe.views.CommunicationComposer = Class.extend({
|
|||
if(this.dialog.fields_dict.sender) {
|
||||
this.dialog.fields_dict.sender.set_value(this.sender || '');
|
||||
}
|
||||
this.dialog.fields_dict.subject.set_value(this.subject || '');
|
||||
this.dialog.fields_dict.subject.set_value(
|
||||
frappe.utils.html2text(this.subject) || ''
|
||||
);
|
||||
|
||||
this.setup_earlier_reply();
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue