v5.11.61
This commit is contained in:
parent
a960691f1a
commit
54c5675795
|
|
@ -1 +1 @@
|
||||||
5.11.60
|
5.11.61
|
||||||
|
|
@ -2102,10 +2102,8 @@ class PdfBuilder
|
||||||
|
|
||||||
if ($this->service->company->markdown_enabled && $this->isMarkdown($child['content'])) {
|
if ($this->service->company->markdown_enabled && $this->isMarkdown($child['content'])) {
|
||||||
|
|
||||||
$child['content'] = str_ireplace(['<br>', '<br/>', '<br />'], "\r\n", $child['content']); //19-05-2025 - pivotting back to this, and allowing html_input for commonmark.
|
$child['content'] = str_ireplace(['<br>', '<br/>', '<br />'], "\r", $child['content']); //19-05-2025 - pivotting back to this, and allowing html_input for commonmark.
|
||||||
$child['content'] = $this->commonmark->convert($child['content']); //@phpstan-ignore-line
|
$child['content'] = $this->commonmark->convert($child['content']); //@phpstan-ignore-line
|
||||||
$child['content'] = nl2br($child['content']); //19-05-2025 - This allows us to use <br> and markdown and still get our spacing.
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
$contains_html = str_contains($child['content'], '<') && str_contains($child['content'], '>');
|
$contains_html = str_contains($child['content'], '<') && str_contains($child['content'], '>');
|
||||||
|
|
|
||||||
|
|
@ -17,8 +17,8 @@ return [
|
||||||
'require_https' => env('REQUIRE_HTTPS', true),
|
'require_https' => env('REQUIRE_HTTPS', true),
|
||||||
'app_url' => rtrim(env('APP_URL', ''), '/'),
|
'app_url' => rtrim(env('APP_URL', ''), '/'),
|
||||||
'app_domain' => env('APP_DOMAIN', 'invoicing.co'),
|
'app_domain' => env('APP_DOMAIN', 'invoicing.co'),
|
||||||
'app_version' => env('APP_VERSION', '5.11.60'),
|
'app_version' => env('APP_VERSION', '5.11.61'),
|
||||||
'app_tag' => env('APP_TAG', '5.11.60'),
|
'app_tag' => env('APP_TAG', '5.11.61'),
|
||||||
'minimum_client_version' => '5.0.16',
|
'minimum_client_version' => '5.0.16',
|
||||||
'terms_version' => '1.0.1',
|
'terms_version' => '1.0.1',
|
||||||
'api_secret' => env('API_SECRET', false),
|
'api_secret' => env('API_SECRET', false),
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue