From 9c5944e2c42c56990fa84c0650142c041f5aa2af Mon Sep 17 00:00:00 2001 From: Hillel Coren Date: Thu, 3 Mar 2016 11:44:03 +0200 Subject: [PATCH] Fix for #747 --- resources/views/emails/design1_text.blade.php | 2 +- resources/views/emails/design2_text.blade.php | 2 +- resources/views/emails/invoice_text.blade.php | 2 +- resources/views/emails/payment_confirmation_text.blade.php | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/resources/views/emails/design1_text.blade.php b/resources/views/emails/design1_text.blade.php index 9b258c53a812..2b79b9861f70 100644 --- a/resources/views/emails/design1_text.blade.php +++ b/resources/views/emails/design1_text.blade.php @@ -1 +1 @@ -{!! strip_tags($body) !!} \ No newline at end of file +{!! strip_tags(str_replace('', "\n\n", $body)) !!} \ No newline at end of file diff --git a/resources/views/emails/design2_text.blade.php b/resources/views/emails/design2_text.blade.php index 9b258c53a812..2b79b9861f70 100644 --- a/resources/views/emails/design2_text.blade.php +++ b/resources/views/emails/design2_text.blade.php @@ -1 +1 @@ -{!! strip_tags($body) !!} \ No newline at end of file +{!! strip_tags(str_replace('', "\n\n", $body)) !!} \ No newline at end of file diff --git a/resources/views/emails/invoice_text.blade.php b/resources/views/emails/invoice_text.blade.php index 9b258c53a812..2b79b9861f70 100644 --- a/resources/views/emails/invoice_text.blade.php +++ b/resources/views/emails/invoice_text.blade.php @@ -1 +1 @@ -{!! strip_tags($body) !!} \ No newline at end of file +{!! strip_tags(str_replace('', "\n\n", $body)) !!} \ No newline at end of file diff --git a/resources/views/emails/payment_confirmation_text.blade.php b/resources/views/emails/payment_confirmation_text.blade.php index 9b258c53a812..2b79b9861f70 100644 --- a/resources/views/emails/payment_confirmation_text.blade.php +++ b/resources/views/emails/payment_confirmation_text.blade.php @@ -1 +1 @@ -{!! strip_tags($body) !!} \ No newline at end of file +{!! strip_tags(str_replace('', "\n\n", $body)) !!} \ No newline at end of file