[fix] [minor] [issue] webnotes/erpnext#661 - remove script and style tags from communication content
This commit is contained in:
parent
7baa7fd129
commit
8762cdaf53
@ -39,9 +39,6 @@ $.extend(cur_frm.cscript, {
|
||||
cur_frm.footer.help_area.innerHTML = '<p><a href="#Form/Email Settings/Email Settings">Email Settings</a><br>\
|
||||
<span class="help">Integrate incoming support emails to Support Ticket</span></p>';
|
||||
}
|
||||
|
||||
if(doc.description)
|
||||
doc.description = wn.utils.escape_script_and_style(doc.description);
|
||||
},
|
||||
|
||||
refresh: function(doc) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user