[fix] [minor] [issue] webnotes/erpnext#661 - remove script and style tags from communication content

This commit is contained in:
Anand Doshi 2013-08-01 19:55:29 +05:30
parent 7baa7fd129
commit 8762cdaf53

View File

@ -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) {