Revert "fix(Request): Sanitize Error Report Email Message" (#11777)
This commit is contained in:
parent
3c3913d757
commit
259d37584b
2 changed files with 2 additions and 2 deletions
|
|
@ -55,7 +55,7 @@ def make(doctype=None, name=None, content=None, subject=None, sent_or_received =
|
|||
comm = frappe.get_doc({
|
||||
"doctype":"Communication",
|
||||
"subject": subject,
|
||||
"content": frappe.utils.sanitize_html(content),
|
||||
"content": content,
|
||||
"sender": sender,
|
||||
"sender_full_name":sender_full_name,
|
||||
"recipients": recipients,
|
||||
|
|
|
|||
|
|
@ -443,7 +443,7 @@ frappe.request.report_error = function(xhr, request_opts) {
|
|||
var communication_composer = new frappe.views.CommunicationComposer({
|
||||
subject: 'Error Report [' + frappe.datetime.nowdate() + ']',
|
||||
recipients: error_report_email,
|
||||
message: frappe.utils.xss_sanitise(error_report_message),
|
||||
message: error_report_message,
|
||||
doc: {
|
||||
doctype: "User",
|
||||
name: frappe.session.user
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue