This commit is contained in:
David Bomba 2025-03-20 09:07:17 +11:00
parent a960691f1a
commit 54c5675795
3 changed files with 4 additions and 6 deletions

View File

@ -1 +1 @@
5.11.60
5.11.61

View File

@ -2102,10 +2102,8 @@ class PdfBuilder
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'] = 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'], '>');

View File

@ -17,8 +17,8 @@ return [
'require_https' => env('REQUIRE_HTTPS', true),
'app_url' => rtrim(env('APP_URL', ''), '/'),
'app_domain' => env('APP_DOMAIN', 'invoicing.co'),
'app_version' => env('APP_VERSION', '5.11.60'),
'app_tag' => env('APP_TAG', '5.11.60'),
'app_version' => env('APP_VERSION', '5.11.61'),
'app_tag' => env('APP_TAG', '5.11.61'),
'minimum_client_version' => '5.0.16',
'terms_version' => '1.0.1',
'api_secret' => env('API_SECRET', false),