mirror of https://github.com/OCA/social.git
[FIX] mail_quoted_reply: Use standard paragraph element to enter text
Without this, it is not possible to do a copy paste of a block of text into the mail composer.pull/1456/head
parent
66c35e3570
commit
776f35d566
|
@ -10,11 +10,12 @@ class MailMessage(models.Model):
|
|||
|
||||
def _prep_quoted_reply_body(self):
|
||||
return """
|
||||
<div>
|
||||
<br/>
|
||||
<div style="margin: 0px; padding: 0px;">
|
||||
<p style="margin:0px 0 12px 0;box-sizing:border-box;">
|
||||
<br />
|
||||
</p>
|
||||
{signature}
|
||||
</div>
|
||||
<br />
|
||||
<br />
|
||||
<blockquote style="padding-right:0px; padding-left:5px; border-left-color: #000;
|
||||
margin-left:5px; margin-right:0px;border-left-width: 2px; border-left-style:solid">
|
||||
|
@ -23,6 +24,7 @@ class MailMessage(models.Model):
|
|||
{str_subject}: {subject}<br/>
|
||||
{body}
|
||||
</blockquote>
|
||||
</div>
|
||||
""".format(
|
||||
email_from=self.email_from,
|
||||
date=format_datetime(self.env, self.date),
|
||||
|
|
Loading…
Reference in New Issue