mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04: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['body'] = $this->parseTemplate($body_template, true, $contact);
|
||||||
$data['subject'] = $this->parseTemplate($subject_template, true, $contact);
|
$data['subject'] = $this->parseTemplate($subject_template, false, $contact);
|
||||||
|
|
||||||
if ($client->getSetting('pdf_email_attachment') !== false) {
|
if ($client->getSetting('pdf_email_attachment') !== false) {
|
||||||
$data['files'][] = $this->pdf_file_path();
|
$data['files'][] = $this->pdf_file_path();
|
||||||
@ -78,8 +78,8 @@ trait QuoteEmailBuilder
|
|||||||
//$data = Parsedown::instance()->line($data);
|
//$data = Parsedown::instance()->line($data);
|
||||||
|
|
||||||
$converter = new CommonMarkConverter([
|
$converter = new CommonMarkConverter([
|
||||||
'html_input' => 'strip',
|
'html_input' => 'allow',
|
||||||
'allow_unsafe_links' => false,
|
'allow_unsafe_links' => true,
|
||||||
]);
|
]);
|
||||||
|
|
||||||
$data = $converter->convertToHtml($data);
|
$data = $converter->convertToHtml($data);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user