mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-10 13:12:50 +01:00
Update QuoteEmailBuilder.php (#3324)
This commit is contained in:
parent
1d9c9d760f
commit
bf25b7db95
@ -56,8 +56,8 @@ trait QuoteEmailBuilder
|
||||
}
|
||||
}
|
||||
|
||||
$data['body'] = $this->parseTemplate($body_template, false, $contact);
|
||||
$data['subject'] = $this->parseTemplate($subject_template, true, $contact);
|
||||
$data['body'] = $this->parseTemplate($body_template, true, $contact);
|
||||
$data['subject'] = $this->parseTemplate($subject_template, false, $contact);
|
||||
|
||||
if ($client->getSetting('pdf_email_attachment') !== false) {
|
||||
$data['files'][] = $this->pdf_file_path();
|
||||
@ -78,8 +78,8 @@ trait QuoteEmailBuilder
|
||||
//$data = Parsedown::instance()->line($data);
|
||||
|
||||
$converter = new CommonMarkConverter([
|
||||
'html_input' => 'strip',
|
||||
'allow_unsafe_links' => false,
|
||||
'html_input' => 'allow',
|
||||
'allow_unsafe_links' => true,
|
||||
]);
|
||||
|
||||
$data = $converter->convertToHtml($data);
|
||||
|
Loading…
Reference in New Issue
Block a user