diff options
author | dartcafe <github@dartcafe.de> | 2022-02-25 01:27:06 +0300 |
---|---|---|
committer | dartcafe <github@dartcafe.de> | 2022-02-25 01:27:06 +0300 |
commit | 21db1262149d43c5af5100e6db5a65699a1a1907 (patch) | |
tree | a148feb7acd487e74123a93606bbe6994f852ef4 /lib | |
parent | 9f0722dd86d1acba7daf9396f3e5dc0d2c418116 (diff) |
use softbreaks in markdown
Signed-off-by: dartcafe <github@dartcafe.de>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Model/Mail/MailBase.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/Model/Mail/MailBase.php b/lib/Model/Mail/MailBase.php index 0335c7d1..e1e8cbd1 100644 --- a/lib/Model/Mail/MailBase.php +++ b/lib/Model/Mail/MailBase.php @@ -213,6 +213,9 @@ abstract class MailBase { protected function getParsedMarkDown($source) : string { $config = [ + 'renderer' => [ + 'soft_break' => "<br />", + ], 'html_input' => 'strip', 'allow_unsafe_links' => false, ]; |