[FIX] mail: remove classes from short_body and body likewise
This commit is contained in:
@@ -329,6 +329,7 @@ class Message(models.Model):
|
||||
'tracking_value_ids': tracking_value_ids,
|
||||
})
|
||||
body_short = tools.html_email_clean(message_dict['body'], shorten=True, remove=True)
|
||||
message_dict['body'] = tools.html_email_clean(message_dict['body'], shorten=False, remove=False)
|
||||
message_dict['body_short'] = body_short != message_dict['body'] and body_short or False
|
||||
|
||||
return True
|
||||
|
||||
Reference in New Issue
Block a user